diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2018-03-29 14:47:55 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-29 14:47:55 +0900 |
commit | 82ae95c334fdcc0a079c1dd935cd43cc97b00938 (patch) | |
tree | 86732a6f39e569d73c3a05fc6b1d296cb5ce7e0d /test/run-tests.js | |
parent | 9a5e2052c4860256021ede7c2c5d529fa0f320ed (diff) | |
download | tracifyjs-82ae95c334fdcc0a079c1dd935cd43cc97b00938.tar.gz tracifyjs-82ae95c334fdcc0a079c1dd935cd43cc97b00938.zip |
improve source map granularity (#3030)
fixes #3023
Diffstat (limited to 'test/run-tests.js')
-rwxr-xr-x | test/run-tests.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/test/run-tests.js b/test/run-tests.js index 1b146e86..3ed28df5 100755 --- a/test/run-tests.js +++ b/test/run-tests.js @@ -22,9 +22,6 @@ if (failures) { var mocha_tests = require("./mocha.js"); mocha_tests(); -var run_sourcemaps_tests = require('./sourcemaps'); -run_sourcemaps_tests(); - /* -----[ utils ]----- */ function tmpl() { @@ -49,16 +46,9 @@ function log_test(name) { } function find_test_files(dir) { - var files = fs.readdirSync(dir).filter(function(name){ + return fs.readdirSync(dir).filter(function(name) { return /\.js$/i.test(name); }); - if (process.argv.length > 2) { - var x = process.argv.slice(2); - files = files.filter(function(f){ - return x.indexOf(f) >= 0; - }); - } - return files; } function test_directory(dir) { |