1 Star 0 Fork 0

gileyang/pixijs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
jest.config.js 1.11 KB
一键复制 编辑 原始数据 按行查看 历史
Matt Karl 提交于 2023-02-08 20:41 . Add HTMLText (#9127)
module.exports = {
testPathIgnorePatterns: ['/node_modules/', '/src/', '/dist/', '/lib/', '/out/', '/bundles/'],
preset: 'ts-jest/presets/js-with-ts',
runner: 'jest-electron/runner',
testEnvironment: 'jest-electron/environment',
setupFilesAfterEnv: [
'jest-extended/all',
],
globalSetup: '<rootDir>/test/jest-global-setup.ts',
globalTeardown: '<rootDir>/test/jest-global-teardown.ts',
transform: {
'\\.vert$': 'jest-raw-loader',
'\\.frag$': 'jest-raw-loader',
},
moduleNameMapper: {
'^@pixi/(.*)$': '<rootDir>/packages/$1/src',
},
testMatch: ['**/?(*.)+(spec|tests).[tj]s?(x)'],
snapshotResolver: '<rootDir>/test/jest-snapshot-resolver.js',
globals: {
'ts-jest': {
tsconfig: {
module: 'ESNext',
esModuleInterop: true,
},
diagnostics: false,
},
},
collectCoverageFrom: [
'<rootDir>/packages/**/*.ts',
'!<rootDir>/packages/**/*.d.ts',
'!<rootDir>/packages/polyfill/**/*.ts',
],
coverageDirectory: '<rootDir>/dist/coverage',
};
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gileyang/pixijs.git
git@gitee.com:gileyang/pixijs.git
gileyang
pixijs
pixijs
Framebuffer-depth-stencil

搜索帮助

0d507c66 1850385 C8b1a773 1850385