29 lines
840 B
JavaScript
29 lines
840 B
JavaScript
/**
|
|
* Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
|
*
|
|
* 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 = {
|
|
globalTeardown: '<rootDir>/teardown.js',
|
|
projects: [
|
|
{
|
|
displayName: 'project-1',
|
|
globalTeardown: '<rootDir>/teardown.js',
|
|
rootDir: path.resolve(__dirname, './project-1'),
|
|
testMatch: ['<rootDir>/**/*.test.js'],
|
|
transformIgnorePatterns: ['/node_modules/', '/packages/'],
|
|
},
|
|
{
|
|
displayName: 'project-2',
|
|
globalTeardown: '<rootDir>/teardown.js',
|
|
rootDir: path.resolve(__dirname, './project-2'),
|
|
testMatch: ['<rootDir>/**/*.test.js'],
|
|
transformIgnorePatterns: ['/node_modules/', '/packages/'],
|
|
},
|
|
],
|
|
};
|