Skip to content

Commit 8e49db6

Browse files
🤖 config(babel): Setup test environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/make-github-pseudonymous-again/rejuvenate/blob/9b50c2a1d7e9ab7b4bc9c9ff88892e98c5f62244/src/transforms/babel:setup-env-test.js Please contact the author of the transform if you believe there was an error.
1 parent 64af7d3 commit 8e49db6

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

package.json

+23-1
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,29 @@
111111
"babel-preset-power-assert"
112112
]
113113
},
114-
"test": {},
114+
"test": {
115+
"presets": [
116+
[
117+
"@babel/preset-env",
118+
{
119+
"targets": "current node"
120+
}
121+
],
122+
"babel-preset-power-assert"
123+
],
124+
"plugins": [
125+
[
126+
"transform-remove-console",
127+
{
128+
"exclude": [
129+
"log",
130+
"error",
131+
"warn"
132+
]
133+
}
134+
]
135+
]
136+
},
115137
"cover": {
116138
"sourceMaps": "both",
117139
"presets": [

0 commit comments

Comments
 (0)