trip-planner/tests/package.json

38 lines
1.2 KiB
JSON
Raw Normal View History

2025-09-27 00:23:19 +02:00
{
"name": "trip-planner-e2e-tests",
"version": "1.0.0",
"description": "End-to-end tests for Trip Planner application",
"main": "index.js",
"scripts": {
2025-09-27 01:26:58 +02:00
"test": "jest --config jest-local.json",
"test:docker": "jest",
"test:headless": "HEADLESS=true jest --config jest-local.json",
"test:watch": "jest --config jest-local.json --watch",
"test:auth": "jest --config jest-local.json specs/auth",
"test:integration": "jest --config jest-local.json specs/integration",
"test:full-auth": "jest --config jest-local.json specs/integration/full-auth-flow.test.js"
2025-09-27 00:23:19 +02:00
},
"keywords": ["selenium", "e2e", "testing"],
"author": "",
"license": "MIT",
"dependencies": {
2025-09-27 01:26:58 +02:00
"selenium-webdriver": "^4.24.0",
"axios": "^1.6.0"
2025-09-27 00:23:19 +02:00
},
"devDependencies": {
"jest": "^29.7.0",
"@types/jest": "^29.5.12"
},
"jest": {
"testEnvironment": "node",
2025-09-27 01:26:58 +02:00
"testMatch": ["**/specs/**/*.test.js"],
"setupFilesAfterEnv": ["<rootDir>/support/config/jest.setup.js"],
2025-09-27 00:23:19 +02:00
"testTimeout": 30000
},
"jest-local": {
"testEnvironment": "node",
2025-09-27 01:26:58 +02:00
"testMatch": ["**/specs/**/*.test.js"],
"setupFilesAfterEnv": ["<rootDir>/support/config/jest.setup.local.js"],
2025-09-27 00:23:19 +02:00
"testTimeout": 30000
}
}