2025-07-07 12:06:52 -03:00
|
|
|
|
|
|
|
|
const testPathIgnorePatterns = [
|
|
|
|
|
'<rootDir>/node_modules/',
|
|
|
|
|
'<rootDir>/rnInjectedJs/',
|
|
|
|
|
'<rootDir>/vendor/',
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
if (!process.env.IS_CONTINUOUS_INTEGRATION) {
|
|
|
|
|
// We don't require all developers to have Rust to run the project, so we skip this test if not running in CI
|
|
|
|
|
testPathIgnorePatterns.push('<rootDir>/services/interop/InteropService_Importer_OneNote.*');
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-01 14:08:41 +00:00
|
|
|
module.exports = {
|
|
|
|
|
testMatch: [
|
|
|
|
|
'**/*.test.js',
|
|
|
|
|
],
|
|
|
|
|
|
2025-07-07 12:06:52 -03:00
|
|
|
testPathIgnorePatterns: testPathIgnorePatterns,
|
2020-12-01 14:08:41 +00:00
|
|
|
|
|
|
|
|
testEnvironment: 'node',
|
2021-05-21 15:17:21 +02:00
|
|
|
|
2025-05-19 19:03:15 -03:00
|
|
|
setupFilesAfterEnv: [
|
|
|
|
|
'jest-expect-message',
|
|
|
|
|
`${__dirname}/jest.setup.js`,
|
|
|
|
|
],
|
2021-05-21 15:17:21 +02:00
|
|
|
slowTestThreshold: 40,
|
2020-12-01 14:08:41 +00:00
|
|
|
};
|