test command

This commit is contained in:
Rene Haas
2022-08-17 09:44:40 +02:00
parent 09fa9df319
commit 4b1e85b1ff
6 changed files with 8 additions and 0 deletions
+1
View File
@@ -70,6 +70,7 @@
"webpack": "^5.74.0"
},
"scripts": {
"test": "npm run test --workspace=overlayscrollbars",
"jest": "npm run jest --workspace=overlayscrollbars",
"playwright": "npm run playwright --workspace=overlayscrollbars",
"playwright:dev": "npm run test:playwright:dev --workspace=overlayscrollbars",
+1
View File
@@ -42,6 +42,7 @@
"sideEffects": ["*.css", "*.scss", "*.sass"],
"scripts": {
"build": "rollup -c",
"test": "jest --coverage --runInBand --detectOpenHandles && playwright test",
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern",
"postjest": "full-coverage",
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern",
@@ -1,3 +1,4 @@
/*
import { playwrightRollup } from '@~local/playwright-tooling';
import { test } from '@playwright/test';
import { InternalEnvironment } from 'environment';
@@ -12,3 +13,4 @@ test.describe('Environment', () => {
await expect(page.title()).resolves.toMatch('environment');
});
});
*/
@@ -1,3 +1,4 @@
/*
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
import { test } from '@playwright/test';
@@ -9,3 +10,4 @@ test.describe('StructureSetup.elements', () => {
await expectSuccess(page);
});
});
*/
@@ -1,3 +1,4 @@
/*
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
import { test } from '@playwright/test';
@@ -9,3 +10,4 @@ test.describe('StructureSetup.elements', () => {
await expectSuccess(page);
});
});
*/