Skip to content

Commit 206cbea

Browse files
committed
Update jest + babel rig for testing
1 parent 8099fda commit 206cbea

File tree

4 files changed

+7300
-5229
lines changed

4 files changed

+7300
-5229
lines changed

.babelrc

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"env": {
33
"test": {
4-
"presets": ["env"]
4+
"presets": [
5+
[
6+
"@babel/env",
7+
{
8+
"targets": {
9+
"node": "current"
10+
}
11+
}
12+
]
13+
]
514
}
615
}
716
}

.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: node_js
22
node_js:
3+
- '11'
34
- '10'
4-
- '9'
55
- '8'
6-
- '7'
76
- '6'
87
after_success:
98
- npm run test:cov

0 commit comments

Comments
 (0)