Commit
* add tests for merging sourcemaps * Store locations for removed comments in cache * Fix tests * Fix tests Co-authored-by: Jason Bedard <jason+github@jbedard.ca>
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const assert = require('assert'); | ||
|
||
module.exports = { | ||
description: 'removes sourcemap comments', | ||
async test(code) { | ||
assert.strictEqual(code.indexOf('sourceMappingURL'), -1); | ||
} | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const assert = require('assert'); | ||
|
||
module.exports = { | ||
description: 'removes existing inline sourcemaps', | ||
async test(code) { | ||
assert.strictEqual(code.indexOf('sourceMappingURL'), -1); | ||
} | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.