package.json: rebuild the bundle before each test
add 'just-test' to only get the test step
MODIFY
package.json
package.json
"description": "Secure EcmaScript",
"main": "index.js",
"scripts": {
- "test": "tape -r esm test/**/*.js",
+ "test": "node scripts/build-intermediate.js && tape -r esm test/**/*.js",
+ "just-test": "tape -r esm test/**/*.js",
"build-intermediate": "node scripts/build-intermediate.js"
},
"devDependencies": {

package.json: rebuild the bundle before each test

add 'just-test' to only get the test step