Something went wrong. Try again.
TypeScript client for accessing TLE Community.
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132export default { // A list of paths to directories that Jest should use to search for files in // https://jestjs.io/docs/configuration#roots-arraystring roots: ['<rootDir>/lib/'],
// The test environment that will be used for testing // https://jestjs.io/docs/configuration#testenvironment-string testEnvironment: 'node',
setupFilesAfterEnv: ['<rootDir>/jest.setup.ts'],
// Jest transformations // https://jestjs.io/docs/configuration#transform-objectstring-pathtotransformer--pathtotransformer-object transform: { '^.+\\.tsx?$': 'ts-jest', // Transform TypeScript files using ts-jest },
// Code coverage config // https://jestjs.io/docs/configuration#collectcoveragefrom-array coverageDirectory: '<rootDir>/coverage/', collectCoverageFrom: ['<rootDir>/lib/**/*.{ts,tsx}', '!**/node_modules/**', '!**/*.d.ts'], coveragePathIgnorePatterns: ['<rootDir>/lib/__utils__/', '<rootDir>/node_modules/'],
// If a test hits the RPC limit it could spent over a minute on progressive backoffs until it's // able to get through to the server again so let's be generous here. testTimeout: 90000,
testPathIgnorePatterns: ['/__utils__/'],
clearMocks: true,};