mirror of
https://github.com/linux-odyssey/linux-odyssey.git
synced 2026-11-05 19:20:12 +08:00
renew config and package
This commit is contained in:
1 parent
62fe65d53a
commit
f9914b8095
3 files changed
+372
-11
No files matched your search
@@ -1,5 +1,6 @@
|
||||
const { defineConfig } = require('cypress')
|
||||
const process = require('process')
|
||||
require('dotenv').config()
|
||||
|
||||
const getConfig = (key, defaultValue) => {
|
||||
return process.env[key] || defaultValue
|
||||
|
||||
+7
-1
@@ -8,6 +8,12 @@
|
||||
"test": "cypress run"
|
||||
},
|
||||
"dependencies": {
|
||||
"cypress": "^13.2.0"
|
||||
"cypress": "^13.2.0",
|
||||
"dotenv": "^16.3.1",
|
||||
"save": "^2.9.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@testing-library/cypress": "^10.0.1",
|
||||
"cypress": "^13.5.0"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user