g6/packages/g6-extension-3d/jest.config.js
Aaron 6425dbcba3
test: adjust test structure (#5607)
* 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
2024-04-02 19:13:53 +08:00

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'],
};