mirror of
https://github.com/facebook/docusaurus.git
synced 2025-04-29 10:17:55 +02:00
26 lines
661 B
JavaScript
26 lines
661 B
JavaScript
/**
|
|
* Copyright (c) 2017-present, Facebook, Inc.
|
|
*
|
|
* This source code is licensed under the MIT license found in the
|
|
* LICENSE file in the root directory of this source tree.
|
|
*/
|
|
|
|
const path = require('path');
|
|
|
|
module.exports = {
|
|
rootDir: path.resolve(__dirname),
|
|
verbose: true,
|
|
testURL: 'http://localhost/',
|
|
testEnvironment: 'node',
|
|
testPathIgnorePatterns: [
|
|
'/node_modules/',
|
|
'__fixtures__',
|
|
'/packages/docusaurus/lib',
|
|
'/packages/docusaurus-utils/lib',
|
|
'/packages/docusaurus-plugin-content-blog/lib',
|
|
'/packages/docusaurus-plugin-content-docs-legacy/lib',
|
|
],
|
|
transform: {
|
|
'^.+\\.[jt]sx?$': 'babel-jest',
|
|
},
|
|
};
|