CommunitySolidServer/jest.config.js
Arne Vandoorslaer b3f292d718
feat: Added resourceExists method to ResourceStore
* feat: added resourceExists method to ResourceStore

* Merge remote-tracking branch 'origin/main' into feat/add-resourceExists-method-to-ResourceStore

* fix: adapted to review

* fix: adapted to review
2021-02-25 13:43:58 +01:00

27 lines
616 B
JavaScript

module.exports = {
globals: {
'ts-jest': {
tsconfig: 'tsconfig.json',
},
},
transform: {
'^.+\\.ts$': 'ts-jest',
},
testRegex: '/test/(unit|integration)/.*\\.test\\.ts$',
moduleFileExtensions: [
'ts',
'js',
],
testEnvironment: 'node',
setupFilesAfterEnv: [ 'jest-rdf', '<rootDir>/test/util/SetupTests.ts' ],
collectCoverage: true,
coverageReporters: [ 'text', 'lcov' ],
coveragePathIgnorePatterns: [
'/dist/',
'/node_modules/',
'/test/',
],
// Slower machines had problems calling the WebSocket integration callbacks on time
testTimeout: 15000,
};