mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
30 lines
1.3 KiB
JSON
30 lines
1.3 KiB
JSON
{
|
|
"name": "tests",
|
|
"version": "1.0.0",
|
|
"description": "Smoke tests for fyipe",
|
|
"main": "index.test.js",
|
|
"scripts": {
|
|
"test": "jest --forceExit --detectOpenHandles ./saas-tests/**/*.test.js",
|
|
"saas-test": "npm run test",
|
|
"enterprise-test": "jest --forceExit --detectOpenHandles ./enterprise-tests/**/*.test.js",
|
|
"staging-test": "export HTTP_TEST_SERVER_URL=https://staging-test-server.fyipe.com && export HOME_URL=https://staging.fyipe.com && export ACCOUNTS_URL=https://staging.fyipe.com/accounts && export ADMIN_DASHBOARD_URL=https://staging.fyipe.com/admin && export DASHBOARD_URL=https://staging.fyipe.com/dashboard && export BACKEND_URL=https://staging.fyipe.com/api && export STATUSPAGE_URL=https://staging.fyipe.com/status-page && export APIDOCS_URL=https://staging.fyipe.com/docs && jest --forceExit --detectOpenHandles ./saas-tests/**/*.test.js",
|
|
"debug-staging-test": "export SLOMO=20 && export HEADLESS=false && npm run-script staging-test"
|
|
},
|
|
"keywords": [],
|
|
"author": "",
|
|
"license": "ISC",
|
|
"devDependencies": {
|
|
"chai": "^4.2.0",
|
|
"chai-http": "^4.3.0",
|
|
"faker": "^4.1.0",
|
|
"jest": "^26.6.3",
|
|
"puppeteer": "^9.1.1",
|
|
"should": "^13.2.3"
|
|
},
|
|
"jest": {
|
|
"testMatch": [
|
|
"<rootDir>/**/**/**/*.test.js"
|
|
]
|
|
}
|
|
}
|