aboutsummaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorUri Shaked2023-01-05 20:46:24 +0200
committerUri Shaked2023-01-05 20:46:24 +0200
commit394633425253d4b680c93814f111359807f2c329 (patch)
treef5c83e44d50c0b97ac556d3429b4ff14177c9c25 /jest.config.js
parentchore: update copyright years (diff)
downloadavr8js-394633425253d4b680c93814f111359807f2c329.tar.gz
avr8js-394633425253d4b680c93814f111359807f2c329.tar.bz2
avr8js-394633425253d4b680c93814f111359807f2c329.zip
chore(deps): upgrade typescript, jest, eslint
also upgrade related dependencies: ts-node, ts-jest
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/jest.config.js b/jest.config.js
index e972c2d..0170761 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -1,9 +1,10 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
- globals: {
- 'ts-jest': {
- tsConfig: 'tsconfig.spec.json',
- },
+ transform: {
+ '^.+\\.tsx?$': [
+ 'ts-jest',
+ { tsconfig: './tsconfig.spec.json' },
+ ],
},
};