From 66c7d0881db0deb450d5fe7adf98c236d83897b1 Mon Sep 17 00:00:00 2001 From: Siarhei Yelin Date: Fri, 29 Mar 2024 16:46:40 +0300 Subject: [PATCH] add typecheck --- uui-e2e-tests/package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/uui-e2e-tests/package.json b/uui-e2e-tests/package.json index d8a0d776b6..3b37bf48b3 100644 --- a/uui-e2e-tests/package.json +++ b/uui-e2e-tests/package.json @@ -10,9 +10,10 @@ "pw-cli-local": "ts-node scripts/cmd/cmdRunPwDocker.ts", "docker-cli-build": "podman build", "docker-cli-run": "podman rm container-uui-e2e-tests --ignore && podman run --name container-uui-e2e-tests -it --network host --ipc host -v ./scripts:/app/scripts -v ./src:/app/src -v ./tests:/app/tests -v ./playwright.config.ts:/app/playwright.config.ts -v ./.env.ci:/app/.env.ci -v ./.env.local:/app/.env.local", - "test-e2e": "yarn pw-cli test", + "test-e2e": "yarn typecheck && yarn pw-cli test", "test-e2e-update": "yarn test-e2e --update-snapshots", "test-e2e-deps-install": "yarn pw-cli install --with-deps chromium webkit", + "typecheck": "tsc --project ./tsconfig.json --skipLibCheck true --noEmit true", "local-test-e2e-report-show": "npx ../node_modules/playwright show-report ./tests/.report/report", "local-test-e2e": "yarn pw-cli-local", "local-test-e2e-update": "yarn pw-cli-local --update-snapshots"