From 9a9f5b6a18f54e7ab4eff250f304fa909808e021 Mon Sep 17 00:00:00 2001 From: Brett Zamir Date: Wed, 24 Oct 2018 15:24:08 +0800 Subject: [PATCH] - npm: Per convention, switch Node-based (headless browser) testing script to `npm test` and change the browser tests to "browser-test" --- CHANGES.md | 5 +++++ package.json | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 621b847d..bcb048b8 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 - Fix (Embedded editor): (Though cross-origin DOM access of iframes apparently diff --git a/package.json b/package.json index 84f239f3..a939a1d1 100644 --- a/package.json +++ b/package.json @@ -26,8 +26,8 @@ "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-prep": "npm run eslint && npm run build-html && npm run rollup && npm run build-config", - "ui-tests": "testcafe chrome test/ui-tests/**/*.js", - "test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000" + "test": "testcafe chrome test/ui-tests/**/*.js", + "browser-test": "npm run test-prep && opn http://localhost:8000/test/all_tests.html && static -p 8000" }, "repository": { "type": "git",