mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-08-07 18:13:38 +08:00
move jest config files to config dir
This commit is contained in:
@@ -4,4 +4,8 @@ if (process.env.TEST_FRONTEND) {
|
||||
config.presets = ["@babel/preset-env"];
|
||||
}
|
||||
|
||||
if (process.env.TEST_BACKEND) {
|
||||
config.plugins = ["babel-plugin-rewire"];
|
||||
}
|
||||
|
||||
module.exports = config;
|
||||
|
Reference in New Issue
Block a user