2.0.6 • Published 3 years ago
techor-jest v2.0.6
Getting Started
Skip if you have already run npm install techor:
npm install techor-jest -DConfiguration
Create a jest.config.ts file in your project root and preset techor-jest:
export default {
preset: 'techor-jest'
}Preset
module.exports = {
transform: {
'^.+\\.(t|j)sx?$': '@swc/jest'
},
globals: {
'ts-jest': {
tsConfig: {
importHelpers: true
}
}
}
}