Skip to content

Commit 1d85a02

Browse files
committed
test: Switch to Jest
Switching to Jest allows us to run tests faster, and gives better compatibility with Flow syntax.
1 parent dd7b94a commit 1d85a02

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

74 files changed

+1612
-355
lines changed

.babelrc

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,5 @@
22
"presets": ["flow"],
33
"plugins": [
44
"transform-es2015-modules-commonjs"
5-
],
6-
"env": {
7-
"test": {
8-
"plugins": ["istanbul"]
9-
}
10-
}
5+
]
116
}

.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"root": true,
33
"parser": "babel-eslint",
44
"parserOptions": {
5-
"sourceType": "script"
5+
"sourceType": "module"
66
},
77
"plugins": [
88
"flowtype"

0 commit comments

Comments
 (0)