diff options
author | Jacques Erasmus <jerasmus@gitlab.com> | 2019-11-22 10:14:03 +0300 |
---|---|---|
committer | Jacques Erasmus <jerasmus@gitlab.com> | 2019-11-22 10:14:03 +0300 |
commit | eb032078e44393a07752cc390aaa0ca785c3b954 (patch) | |
tree | b7362195930bfc51e683c605a1b14a0041804a98 /babel.config.js | |
parent | fc1677f3616847a70c196dfc94f6be7fa83160d0 (diff) |
Add Jest as a frontend testing framework
Added Jest as a frontend testing framework
Diffstat (limited to 'babel.config.js')
-rw-r--r-- | babel.config.js | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/babel.config.js b/babel.config.js new file mode 100644 index 00000000..160acc3c --- /dev/null +++ b/babel.config.js @@ -0,0 +1,28 @@ +module.exports = { + env: { + development: { + presets: [ + [ + '@babel/preset-env', + { + targets: { + ie: '11', + }, + }, + ], + ], + }, + test: { + presets: [ + [ + '@babel/preset-env', + { + targets: { + node: 'current', + }, + }, + ], + ], + }, + }, +}; |