Skip to content

Commit 795f64b

Browse files
committed
chore: update sync scripts
1 parent 9a758d2 commit 795f64b

File tree

4 files changed

+1738
-13472
lines changed

4 files changed

+1738
-13472
lines changed

jest.config.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,14 @@
1-
module.exports = {
1+
/** @type {import('jest').Config} */
2+
const config = {
23
preset: '@opd/jest-preset-pangu',
34
setupFiles: [
45
'jest-canvas-mock',
56
'./__tests__/setups/worker.js',
67
'./__tests__/setups/url.js',
78
],
8-
transformIgnorePatterns: ['/node_modules/'],
9+
transformIgnorePatterns: ['/node_modules/!d3-*'],
910
collectCoverageFrom: ['./src/**/*.{ts,tsx}', '!./**/*.d.ts'],
1011
testEnvironment: 'jsdom',
1112
}
13+
14+
module.exports = config

0 commit comments

Comments
 (0)