Project initialised with AlgoKit CLI using template: https://github.com/algorandfoundation/algokit-fullstack-template.git
This commit is contained in:
20
projects/TokenizeRWATemplate-frontend/jest.config.ts
Normal file
20
projects/TokenizeRWATemplate-frontend/jest.config.ts
Normal file
@ -0,0 +1,20 @@
|
||||
import type { Config } from '@jest/types'
|
||||
|
||||
const config: Config.InitialOptions = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.spec.ts', '**/*.spec.tsx'],
|
||||
moduleDirectories: ['node_modules', 'src'],
|
||||
transform: {
|
||||
'<regex_match_files>': [
|
||||
'ts-jest',
|
||||
{
|
||||
tsconfig: 'tsconfig.test.json',
|
||||
},
|
||||
],
|
||||
},
|
||||
coveragePathIgnorePatterns: ['tests'],
|
||||
testPathIgnorePatterns: ['/tests/'],
|
||||
}
|
||||
|
||||
export default config
|
||||
Reference in New Issue
Block a user