compile scripts before test, run tests on scripts dir
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
},
|
||||
"scripts": {
|
||||
"build": "dev-scripts/build-extension.sh",
|
||||
"pretest": "tsc",
|
||||
"test": "jasmine-browser-runner runSpecs"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
export default {
|
||||
srcDir: "src",
|
||||
srcDir: "scripts",
|
||||
// srcFiles should usually be left empty when using ES modules, because you'll
|
||||
// explicitly import sources from your specs.
|
||||
srcFiles: [],
|
||||
|
||||
Reference in New Issue
Block a user