mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-01 10:22:30 +02:00
test: add test for load config
This commit is contained in:
parent
687bf09c96
commit
bf94bf96f8
6 changed files with 71 additions and 8 deletions
12
test/jest.config.js
Normal file
12
test/jest.config.js
Normal file
|
@ -0,0 +1,12 @@
|
|||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
rootDir: path.resolve(__dirname, '..'),
|
||||
verbose: true,
|
||||
testURL: 'http://localhost/',
|
||||
testEnvironment: 'node',
|
||||
moduleNameMapper: {
|
||||
'^@lib/(.*)$': '<rootDir>/lib/$1'
|
||||
},
|
||||
testPathIgnorePatterns: ['/node_modules/', '__fixtures__']
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue