Skip to content

Commit 4877497

Browse files
author
Dean Naji
committed
FIREFLY-74:fixing jest plugins
1 parent 49b7489 commit 4877497

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

__jest__/jest.transform.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,12 @@
55
/*eslint-env node*/
66

77
module.exports = require('babel-jest').createTransformer({
8-
presets: ['@babel/preset-env', '@babel/preset-react']
8+
presets: [
9+
'@babel/preset-env',
10+
'@babel/preset-react',
11+
],
12+
plugins:[
13+
'@babel/plugin-transform-runtime',
14+
'@babel/plugin-proposal-class-properties'
15+
]
916
});

0 commit comments

Comments
 (0)