diff --git a/package.json b/package.json index 979d43d6..1d7cbf73 100644 --- a/package.json +++ b/package.json @@ -25,11 +25,11 @@ "test": "npm run lint && npm run test-asm && npm run test-asm-debug && npm run test-wasm && npm run test-wasm-debug && npm run test-asm-memory-growth", "lint": "eslint .", "prettify": "eslint . --fix", - "test-asm": "node test/all.js asm", - "test-asm-debug": "node test/all.js asm-debug", - "test-asm-memory-growth": "node test/all.js asm-memory-growth", - "test-wasm": "node test/all.js wasm", - "test-wasm-debug": "node test/all.js wasm-debug", + "test-asm": "node --unhandled-rejections=strict test/all.js asm", + "test-asm-debug": "node --unhandled-rejections=strict test/all.js asm-debug", + "test-asm-memory-growth": "node --unhandled-rejections=strict test/all.js asm-memory-growth", + "test-wasm": "node --unhandled-rejections=strict test/all.js wasm", + "test-wasm-debug": "node --unhandled-rejections=strict test/all.js wasm-debug", "doc": "jsdoc -c .jsdoc.config.json" }, "homepage": "http://github.com/sql-js/sql.js",