Devendra174's picture
Upload folder using huggingface_hub
1e92f2d verified
raw
history blame
932 Bytes
module.exports = {
setupFilesAfterEnv: [
'@testing-library/jest-dom/extend-expect',
'./scripts/jest/setupTests.ts',
],
testPathIgnorePatterns: [
'<rootDir>/node_modules/',
'<rootDir>/examples/',
'/__utils__/',
],
snapshotSerializers: ['enzyme-to-json/serializer', 'jest-serializer-html'],
testEnvironment: 'jsdom',
watchPlugins: [
'jest-watch-typeahead/filename',
'jest-watch-typeahead/testname',
],
moduleNameMapper: {
'^react-instantsearch-(.*)$':
'<rootDir>/packages/react-instantsearch-$1/src/',
},
transformIgnorePatterns: ['node_modules/(?!(instantsearch.js)/)'],
globals: {
__DEV__: true,
},
// reporter for circleci
reporters: [
'default',
[
'jest-junit',
{
outputDirectory: 'junit/jest',
suiteNameTemplate: '{filepath}',
ancestorSeparator: ' › ',
addFileAttribute: 'true',
},
],
],
};