Moved test input files to test/input.
This commit is contained in:
committed by
Richard van Velzen
parent
85a09fc3b6
commit
38756b1f26
@@ -1,8 +0,0 @@
|
||||
"use strict";
|
||||
|
||||
var foo = function foo(x) {
|
||||
return "foo " + x;
|
||||
};
|
||||
console.log(foo("bar"));
|
||||
|
||||
//# sourceMappingURL=simple.js.map
|
||||
@@ -1,8 +0,0 @@
|
||||
{
|
||||
"version": 3,
|
||||
"sources": ["index.js"],
|
||||
"names": [],
|
||||
"mappings": ";;AAAA,IAAI,MAAM,SAAN,GAAM;AAAA,SAAK,SAAS,CAAd;AAAA,CAAV;AACA,QAAQ,GAAR,CAAY,IAAI,KAAJ,CAAZ",
|
||||
"file": "simple.js",
|
||||
"sourcesContent": ["let foo = x => \"foo \" + x;\nconsole.log(foo(\"bar\"));"]
|
||||
}
|
||||
@@ -62,9 +62,9 @@ describe("minify", function() {
|
||||
|
||||
describe("inSourceMap", function() {
|
||||
it("Should read the given string filename correctly when sourceMapIncludeSources is enabled (#1236)", function() {
|
||||
var result = Uglify.minify('./test/mocha/input/issue-1236/simple.js', {
|
||||
var result = Uglify.minify('./test/input/issue-1236/simple.js', {
|
||||
outSourceMap: "simple.js.min.map",
|
||||
inSourceMap: "./test/mocha/input/issue-1236/simple.js.map",
|
||||
inSourceMap: "./test/input/issue-1236/simple.js.map",
|
||||
sourceMapIncludeSources: true
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user