mirror of
https://gitee.com/antv/g6.git
synced 2024-11-30 10:48:24 +08:00
6425dbcba3
* chore: use swc/jest replace ts-jest * test: adjust test env and cases * chore: remove prettier to format snapshot * test: update snapshots * chore: adsjut test case * refactor: optmize canvas destroy * test: use xml-formatter to format snapshots * test: add toMatchAnimation matcher * test: add createGraph util * test: adjust test demo and types * test: update test case and snapshots * chore: rename cases folder to unit
9 lines
224 B
JavaScript
9 lines
224 B
JavaScript
module.exports = {
|
|
transform: {
|
|
'^.+\\.[tj]s$': ['@swc/jest'],
|
|
},
|
|
testRegex: '(/__tests__/.*\\.(test|spec))\\.(ts|tsx|js)$',
|
|
collectCoverageFrom: ['src/**/*.ts'],
|
|
moduleFileExtensions: ['ts', 'js', 'json'],
|
|
};
|