diff options
Diffstat (limited to 'test/mocha')
-rw-r--r-- | test/mocha/input/issue-1236/simple.js | 8 | ||||
-rw-r--r-- | test/mocha/input/issue-1236/simple.js.map | 8 | ||||
-rw-r--r-- | test/mocha/minify.js | 4 |
3 files changed, 2 insertions, 18 deletions
diff --git a/test/mocha/input/issue-1236/simple.js b/test/mocha/input/issue-1236/simple.js deleted file mode 100644 index 8bdd7f26..00000000 --- a/test/mocha/input/issue-1236/simple.js +++ /dev/null @@ -1,8 +0,0 @@ -"use strict"; - -var foo = function foo(x) { - return "foo " + x; -}; -console.log(foo("bar")); - -//# sourceMappingURL=simple.js.map diff --git a/test/mocha/input/issue-1236/simple.js.map b/test/mocha/input/issue-1236/simple.js.map deleted file mode 100644 index 28989e0f..00000000 --- a/test/mocha/input/issue-1236/simple.js.map +++ /dev/null @@ -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\"));"] -} diff --git a/test/mocha/minify.js b/test/mocha/minify.js index b6e7a23f..2adbadcb 100644 --- a/test/mocha/minify.js +++ b/test/mocha/minify.js @@ -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 }); |