module.exports = { // Automatically clear mock calls and instances between every test clearMocks: true, moduleFileExtensions: ['ts', 'js'], // A map from regular expressions to module names that allow to stub out resources with a single module moduleNameMapper: { '@warp/cache': '/src/cache/index', '@warp/contract': '/src/contract/index', '@warp/core': '/src/core/index', '@warp/legacy': '/src/legacy/index', '@warp/plugins': '/src/plugins/index', '@warp/logging': '/src/logging/index', '@warp/utils': '/src/utils/index', '@warp': '/src/index' }, testPathIgnorePatterns: [ "/.yalc/", "/data/", "/_helpers", ], testEnvironment: 'node', "transformIgnorePatterns": [ "/node_modules/(?!@assemblyscript/.*)" ], transform: { '^.+\\.(ts|js)$': 'ts-jest' } };