mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-23 07:42:10 +00:00
35 lines
1.5 KiB
JSON
35 lines
1.5 KiB
JSON
{
|
|
"name": "tests",
|
|
"version": "1.0.0",
|
|
"description": "Smoke tests for oneuptime",
|
|
"main": "index.test.js",
|
|
"scripts": {
|
|
"test": "jest --runInBand ./saas-tests/**/*.test.js",
|
|
"saas-test": "npm run test",
|
|
"enterprise-test": "jest ./enterprise-tests/**/*.test.js",
|
|
"staging-test": "export INIT_SCRIPT_URL=https://staging.oneuptime.com/InitScript && export HTTP_TEST_SERVER_URL=https://staging-test-server.oneuptime.com && export HOME_URL=https://staging.oneuptime.com && export ACCOUNTS_URL=https://staging.oneuptime.com/accounts && export ADMIN_DASHBOARD_URL=https://staging.oneuptime.com/admin && export DASHBOARD_URL=https://staging.oneuptime.com/dashboard && export BACKEND_URL=https://staging.oneuptime.com/api && export STATUSPAGE_URL=https://staging.oneuptime.com/StatusPage && export APIDOCS_URL=https://staging.oneuptime.com/docs && jest ./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.3.6",
|
|
"chai-http": "^4.3.0",
|
|
"faker": "^6.6.6",
|
|
"jest": "^27.5.1",
|
|
"puppeteer": "^13.5.1",
|
|
"should": "^13.2.3"
|
|
},
|
|
"jest": {
|
|
"testMatch": [
|
|
"<rootDir>/**/**/**/*.test.js"
|
|
]
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"axios": "^0.26.1",
|
|
"speakeasy": "^2.0.0"
|
|
}
|
|
}
|