mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-09 05:16:23 +10:00
test: 'Tapable'
This commit is contained in:
+13
-1
@@ -15,8 +15,20 @@ module.exports = {
|
||||
'test.js',
|
||||
path.resolve(__dirname, '../test')
|
||||
],
|
||||
// projects: [
|
||||
// '<rootDir>/packages/@vuepress/*',
|
||||
// {
|
||||
// displayName: 'test',
|
||||
// verbose: true,
|
||||
// runner: 'jest',
|
||||
// testURL: 'http://localhost/',
|
||||
// testMatch: [
|
||||
// '<rootDir>/packages/@vuepress/*.js'
|
||||
// ]
|
||||
// }
|
||||
// ],
|
||||
moduleNameMapper: {
|
||||
'^@/(.*)$': '<rootDir>/lib/$1'
|
||||
'^@/(.*)$': '<rootDir>/$1'
|
||||
},
|
||||
transform: {
|
||||
'^.+\\.js$': '<rootDir>/node_modules/babel-jest',
|
||||
|
||||
@@ -12,8 +12,6 @@ if (args.p) {
|
||||
rawArgs.splice(i, 2)
|
||||
}
|
||||
|
||||
console.log(regex)
|
||||
|
||||
;(async () => {
|
||||
const jestArgs = [
|
||||
'--env', 'node',
|
||||
|
||||
Reference in New Issue
Block a user