1 Star 0 Fork 0

alphabetabcOpenClub / lowcode-core-craft.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
jest.config.js 533 Bytes
一键复制 编辑 原始数据 按行查看 历史
Prev Wong 提交于 2023-02-12 13:00 . chore: bump tests
/** @type {import('ts-jest').JestConfigWithTsJest} */
const esModules = ['nanoid'].join('|');
module.exports = {
setupFilesAfterEnv: ['<rootDir>/jest/setup.js'],
clearMocks: true,
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/packages/**/?(*.)test.ts(x|)'],
transform: {
'^.+\\.(ts|tsx|js|jsx)$': [
'ts-jest',
{
tsconfig: 'tsconfig.jest.json',
},
],
},
transformIgnorePatterns: [`/node_modules/(?!${esModules})`],
moduleNameMapper: {
'^nanoid(/(.*)|$)': 'nanoid$1',
},
};
TypeScript
1
https://gitee.com/alphabetabc-viz/lowcode-core-craft.js.git
git@gitee.com:alphabetabc-viz/lowcode-core-craft.js.git
alphabetabc-viz
lowcode-core-craft.js
lowcode-core-craft.js
main

搜索帮助

53164aa7 5694891 3bd8fe86 5694891