Skip to content

Commit 78e7e28

Browse files
committed
Replace custom test-server with Grunt connect
1 parent 03d387b commit 78e7e28

File tree

3 files changed

+2
-38
lines changed

3 files changed

+2
-38
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"test:mocha": "grunt build && grunt test",
9595
"test:browser": "playwright test --config tests/browser/playwright.config.js tests/browser/spec.js",
9696
"test:integration": "grunt integration-tests",
97-
"test:serve": "node ./tests/server.js",
97+
"test:serve": "grunt connect:server:keepalive",
9898
"extensive-tests-and-publish-to-aws": "npx mocha tasks/tests/ && grunt --stack extensive-tests-and-publish-to-aws",
9999
"--- combined tasks ---": "",
100100
"check-before-pull-request": "concurrently --kill-others-on-fail npm:lint npm:test"

tests/browser/playwright.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const config = {
1919
reporter: 'list',
2020
webServer: {
2121
command: 'npm run test:serve',
22-
port: 3000,
22+
port: 9999,
2323
reuseExistingServer: false
2424
}
2525
};

tests/server.js

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)