Automatically install deps for playwright

Summary: Test postinstall

Reviewers: #reviewers

Differential Revision: https://hub.sealcode.org/D1368
This commit is contained in:
Kuba Orlik 2024-02-13 18:56:17 +01:00
parent 390cffbf3c
commit eee601226d
2 changed files with 1 additions and 4 deletions

View File

@ -16,7 +16,7 @@
"test-cmd-once": "vitest run --config ./src/back/vitest.config.ts",
"test": "npm run test-cmd -- --ui",
"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",
"show-coverage": "npm run test-reports; xdg-open coverage/index.html"
},

View File

@ -5,6 +5,3 @@ export const registry = new Registry();
import { NiceBox } from "./nice-box/nice-box.jdd.js";
registry.add("nice-box", NiceBox);
import { SomeOtherComponent } from "./some-other-component/some-other-component.jdd.js";
registry.add("some-other-component", SomeOtherComponent);