1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Speed up tests (#4102)

This commit is contained in:
Tim Neutkens 2018-04-03 14:43:56 +02:00 committed by GitHub
parent f2e56609cd
commit 4e8d075383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 12 deletions

View file

@ -8,16 +8,5 @@
"@babel/plugin-proposal-object-rest-spread",
"@babel/plugin-proposal-class-properties",
"@babel/plugin-transform-runtime"
],
"env": {
"test": {
"presets": [
["./babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
}
}
}

9
test/.babelrc Normal file
View file

@ -0,0 +1,9 @@
{
"presets": [
["next/babel", {
"preset-env": {
"modules": "commonjs"
}
}]
]
}