mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-06-03 06:01:08 +00:00
chore: 🤖 必须要加上 jest.config.js 否则 jest 跑的时候会报错的
This commit is contained in:
parent
54ec0154b6
commit
fc46a6207c
9
packages/code-generator/jest.config.js
Normal file
9
packages/code-generator/jest.config.js
Normal file
@ -0,0 +1,9 @@
|
||||
module.exports = {
|
||||
preset: 'ts-jest',
|
||||
testEnvironment: 'node',
|
||||
transformIgnorePatterns: ['/node_modules/(?!core-js)/'],
|
||||
moduleFileExtensions: ['ts', 'tsx', 'js', 'json'],
|
||||
collectCoverage: false,
|
||||
collectCoverageFrom: ['src/**/*.{ts,tsx}', '!**/node_modules/**', '!**/vendor/**'],
|
||||
testMatch: ['<rootDir>/tests/**/*.test.ts'],
|
||||
};
|
||||
Loading…
x
Reference in New Issue
Block a user