From eee601226d2a9923202d9390c164258c9a14c7e7 Mon Sep 17 00:00:00 2001 From: Kuba Orlik Date: Tue, 13 Feb 2024 18:56:17 +0100 Subject: [PATCH] Automatically install deps for playwright Summary: Test postinstall Reviewers: #reviewers Differential Revision: https://hub.sealcode.org/D1368 --- package.json | 2 +- src/back/jdd-components/components.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/package.json b/package.json index 4d27ee8..38c4c5d 100644 --- a/package.json +++ b/package.json @@ -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" }, diff --git a/src/back/jdd-components/components.ts b/src/back/jdd-components/components.ts index 528b0d2..c63b7a9 100644 --- a/src/back/jdd-components/components.ts +++ b/src/back/jdd-components/components.ts @@ -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);