mirror of
https://github.com/tenrok/OverlayScrollbars.git
synced 2026-06-19 11:10:35 +03:00
test command
This commit is contained in:
@@ -70,6 +70,7 @@
|
|||||||
"webpack": "^5.74.0"
|
"webpack": "^5.74.0"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
"test": "npm run test --workspace=overlayscrollbars",
|
||||||
"jest": "npm run jest --workspace=overlayscrollbars",
|
"jest": "npm run jest --workspace=overlayscrollbars",
|
||||||
"playwright": "npm run playwright --workspace=overlayscrollbars",
|
"playwright": "npm run playwright --workspace=overlayscrollbars",
|
||||||
"playwright:dev": "npm run test:playwright:dev --workspace=overlayscrollbars",
|
"playwright:dev": "npm run test:playwright:dev --workspace=overlayscrollbars",
|
||||||
|
|||||||
@@ -42,6 +42,7 @@
|
|||||||
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
"sideEffects": ["*.css", "*.scss", "*.sass"],
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build": "rollup -c",
|
"build": "rollup -c",
|
||||||
|
"test": "jest --coverage --runInBand --detectOpenHandles && playwright test",
|
||||||
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern",
|
"jest": "jest --coverage --runInBand --detectOpenHandles --testPathPattern",
|
||||||
"postjest": "full-coverage",
|
"postjest": "full-coverage",
|
||||||
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern",
|
"jest:node": "jest --runInBand --detectOpenHandles --selectProjects node --testPathPattern",
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
import { playwrightRollup } from '@~local/playwright-tooling';
|
import { playwrightRollup } from '@~local/playwright-tooling';
|
||||||
import { test } from '@playwright/test';
|
import { test } from '@playwright/test';
|
||||||
import { InternalEnvironment } from 'environment';
|
import { InternalEnvironment } from 'environment';
|
||||||
@@ -12,3 +13,4 @@ test.describe('Environment', () => {
|
|||||||
await expect(page.title()).resolves.toMatch('environment');
|
await expect(page.title()).resolves.toMatch('environment');
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
|
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
|
||||||
import { test } from '@playwright/test';
|
import { test } from '@playwright/test';
|
||||||
|
|
||||||
@@ -9,3 +10,4 @@ test.describe('StructureSetup.elements', () => {
|
|||||||
await expectSuccess(page);
|
await expectSuccess(page);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|||||||
+2
@@ -1,3 +1,4 @@
|
|||||||
|
/*
|
||||||
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
|
import { playwrightRollup, expectSuccess } from '@~local/playwright-tooling';
|
||||||
import { test } from '@playwright/test';
|
import { test } from '@playwright/test';
|
||||||
|
|
||||||
@@ -9,3 +10,4 @@ test.describe('StructureSetup.elements', () => {
|
|||||||
await expectSuccess(page);
|
await expectSuccess(page);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user