mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-08 14:47:12 +02:00
* Upgrade babel in v2 folder
* Use babel-plugin-transform-dynamic-import instead of babel-plugin-dynamic-import-node
* Remove not needed import polyfill by changing the order of import
* Revert "Remove not needed import polyfill by changing the order of import"
This reverts commit 9263aa693a
.
* Fix prettier
15 lines
373 B
JavaScript
15 lines
373 B
JavaScript
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__', 'v1'],
|
|
transform: {
|
|
'^.+\\.js$': '<rootDir>/jest.transform.js',
|
|
},
|
|
};
|