Skip to content

Commit

Permalink
chore: replace outdated jest config style (#9242)
Browse files Browse the repository at this point in the history
Resolves this warning

<img width="854" alt="Screenshot 2024-01-31 at 09 19 49"
src="https://github.com/vega/vega-lite/assets/589034/72b5f67d-5ebe-40c8-a024-cf5be7e16869">
  • Loading branch information
domoritz authored Jan 31, 2024
1 parent f979c8f commit b0a5ee7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ const config = {
coverageDirectory: './coverage/',
collectCoverage: false,
setupFiles: ['./test/jest.overrides.ts'],
globals: {
'ts-jest': {
diagnostics: false,
useESM: true
}
transform: {
'^.+\\.ts$': [
'ts-jest',
{
diagnostics: false,
useESM: true
}
]
}
};

Expand Down

0 comments on commit b0a5ee7

Please sign in to comment.