mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-05 12:21:31 +08:00
fix: test error
This commit is contained in:
@@ -43,12 +43,12 @@ for (const dir in maintainerPath) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// 兼容旧版路由
|
// 兼容旧版路由
|
||||||
const router = require('../../lib/router.js');
|
// const router = require('../../lib/router.js');
|
||||||
for (const e of router.stack) {
|
// for (const e of router.stack) {
|
||||||
if (!maintainers[e.path]) {
|
// if (!maintainers[e.path]) {
|
||||||
maintainers[e.path] = [];
|
// maintainers[e.path] = [];
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
const maintainer = Object.keys(maintainers)
|
const maintainer = Object.keys(maintainers)
|
||||||
.sort()
|
.sort()
|
||||||
|
|||||||
@@ -8,9 +8,9 @@ export default defineConfig({
|
|||||||
coverage: {
|
coverage: {
|
||||||
include: ['lib/**/*.ts'],
|
include: ['lib/**/*.ts'],
|
||||||
exclude: ['lib/routes/**', 'lib/routes-deprecated/**'],
|
exclude: ['lib/routes/**', 'lib/routes-deprecated/**'],
|
||||||
reporter: ['junit'],
|
|
||||||
},
|
},
|
||||||
testTimeout: 10000,
|
testTimeout: 10000,
|
||||||
exclude: ['website', ...defaultExclude],
|
exclude: ['website', ...defaultExclude],
|
||||||
|
reporters: ['junit'],
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user