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:
parent
f2e56609cd
commit
4e8d075383
11
.babelrc
11
.babelrc
|
@ -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
9
test/.babelrc
Normal file
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"presets": [
|
||||
["next/babel", {
|
||||
"preset-env": {
|
||||
"modules": "commonjs"
|
||||
}
|
||||
}]
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue