Skip to content
This repository was archived by the owner on May 28, 2022. It is now read-only.

Commit 7618b36

Browse files
committed
benchmarking: use start-server-and-test
As recommended by Cypress
1 parent 92719c2 commit 7618b36

File tree

2 files changed

+221
-0
lines changed

2 files changed

+221
-0
lines changed

benchmarking/package-lock.json

+219
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarking/package.json

+2
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"rollup-plugin-svelte": "^5.0.1",
9090
"rollup-plugin-terser": "^5.2.0",
9191
"sapper": "^0.27.0",
92+
"start-server-and-test": "^1.10.8",
9293
"svelte": "^3.0.0"
9394
},
9495
"scripts": {
@@ -100,6 +101,7 @@
100101
"export": "sapper export",
101102
"format": "prettier --write '*.{js,json}' '**/*.{js,json,mjs,svelte}'",
102103
"gh-pages": "npm run build && npm run export && rm -rf gh-pages/* && cp -r __sapper__/export/* gh-pages/ && git -C gh-pages add .",
104+
"integration-tests": "start-server-and-test 3000 cypress",
103105
"lint": "eslint 'src/**' 'cypress/**' 'test/**'",
104106
"start": "node __sapper__/build",
105107
"test": "npm run unit && npm run cypress",

0 commit comments

Comments
 (0)