Automatically install deps for playwright
Summary: Test postinstall Reviewers: #reviewers Differential Revision: https://hub.sealcode.org/D1368
This commit is contained in:
parent
390cffbf3c
commit
eee601226d
@ -16,7 +16,7 @@
|
|||||||
"test-cmd-once": "vitest run --config ./src/back/vitest.config.ts",
|
"test-cmd-once": "vitest run --config ./src/back/vitest.config.ts",
|
||||||
"test": "npm run test-cmd -- --ui",
|
"test": "npm run test-cmd -- --ui",
|
||||||
"coverage": "npm run test --coverage",
|
"coverage": "npm run test --coverage",
|
||||||
"postinstall": "sealgen make-env && npm install --prefix webhint",
|
"postinstall": "sealgen make-env && npm install --prefix webhint && npm run install-test-deps",
|
||||||
"test-reports": "rm -f .xunit && npm run test-cmd-once -- --coverage --reporter=junit --outputFile=.xunit",
|
"test-reports": "rm -f .xunit && npm run test-cmd-once -- --coverage --reporter=junit --outputFile=.xunit",
|
||||||
"show-coverage": "npm run test-reports; xdg-open coverage/index.html"
|
"show-coverage": "npm run test-reports; xdg-open coverage/index.html"
|
||||||
},
|
},
|
||||||
|
@ -5,6 +5,3 @@ export const registry = new Registry();
|
|||||||
|
|
||||||
import { NiceBox } from "./nice-box/nice-box.jdd.js";
|
import { NiceBox } from "./nice-box/nice-box.jdd.js";
|
||||||
registry.add("nice-box", NiceBox);
|
registry.add("nice-box", NiceBox);
|
||||||
|
|
||||||
import { SomeOtherComponent } from "./some-other-component/some-other-component.jdd.js";
|
|
||||||
registry.add("some-other-component", SomeOtherComponent);
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user