mirror of
https://github.com/wahyd4/vuepress.git
synced 2026-08-20 10:45:51 +10:00
12 lines
371 B
JavaScript
12 lines
371 B
JavaScript
const path = require('path')
|
|
const createJestConfig = require('@vuepress/test-utils/createJestConfig')
|
|
|
|
module.exports = createJestConfig({
|
|
rootDir: path.resolve(__dirname, '..'),
|
|
moduleNameMapper: {
|
|
'^@/(.*)$': '<rootDir>/$1',
|
|
'^@core/(.*)$': '<rootDir>/packages/@vuepress/core/$1'
|
|
},
|
|
globalSetup: '<rootDir>/packages/@vuepress/test-utils/prepare.js'
|
|
})
|