-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
44 lines (44 loc) · 1.19 KB
/
Copy pathpackage.json
File metadata and controls
44 lines (44 loc) · 1.19 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"name": "codex-testing",
"version": "1.0.0",
"description": "自动化测试套件",
"main": "index.html",
"scripts": {
"test": "jest",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:e2e": "playwright test",
"test:e2e:headed": "playwright test --headed",
"test:e2e:debug": "playwright test --debug",
"test:all": "npm run test && npm run test:e2e",
"install:browsers": "playwright install",
"serve": "python3 -m http.server 8080 || python -m http.server 8080"
},
"devDependencies": {
"@playwright/test": "^1.40.0",
"@types/jest": "^29.5.8",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0"
},
"jest": {
"testEnvironment": "jsdom",
"testMatch": [
"**/tests/unit/**/*.test.js",
"**/tests/integration/**/*.test.js",
"**/tests/performance/**/*.test.js",
"**/tests/security/**/*.test.js"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/tests/e2e/"
],
"collectCoverageFrom": [
"**/*.js",
"!node_modules/**",
"!coverage/**",
"!playwright.config.js",
"!tests/e2e/**"
],
"coverageReporters": ["text", "lcov", "html"]
}
}