Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Erasmus <jerasmus@gitlab.com>2019-11-22 10:14:03 +0300
committerJacques Erasmus <jerasmus@gitlab.com>2019-11-22 10:14:03 +0300
commiteb032078e44393a07752cc390aaa0ca785c3b954 (patch)
treeb7362195930bfc51e683c605a1b14a0041804a98 /babel.config.js
parentfc1677f3616847a70c196dfc94f6be7fa83160d0 (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.js28
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',
+ },
+ },
+ ],
+ ],
+ },
+ },
+};