- npm: Per convention, switch Node-based (headless browser) testing script to

`npm test` and change the browser tests to "browser-test"
master
Brett Zamir 2018-10-24 15:24:08 +08:00
parent 283ef0b521
commit 9a9f5b6a18
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
# ?
- npm: Per convention, switch Node-based (headless browser) testing script to
`npm test` and change the browser tests to "browser-test"
# 3.1.0 # 3.1.0
- Fix (Embedded editor): (Though cross-origin DOM access of iframes apparently - Fix (Embedded editor): (Though cross-origin DOM access of iframes apparently

View File

@ -26,8 +26,8 @@
"start": "echo \"Open file to http://localhost:8000/test/all_tests.html\" && static -p 8000", "start": "echo \"Open file to http://localhost:8000/test/all_tests.html\" && static -p 8000",
"test-no-build": "npm run eslint && npm run build-html && npm run build-config && opn http://localhost:8000/test/all_tests.html && static -p 8000", "test-no-build": "npm run eslint && npm run build-html && npm run build-config && opn http://localhost:8000/test/all_tests.html && static -p 8000",
"test-prep": "npm run eslint && npm run build-html && npm run rollup && npm run build-config", "test-prep": "npm run eslint && npm run build-html && npm run rollup && npm run build-config",
"ui-tests": "testcafe chrome test/ui-tests/**/*.js", "test": "testcafe chrome test/ui-tests/**/*.js",
"test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000" "browser-test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000"
}, },
"repository": { "repository": {
"type": "git", "type": "git",