Skip to content

Commit f1f4e8a

Browse files
🤖 config(babel): Setup test environment.
These changes were automatically generated by a transform whose code can be found at: - https://github.com/aureooms/rejuvenate/blob/b7b7316fcc320ee7d249b0aa391d9a196c944421/src/transforms/babel:setup-env-test.js Please contact the author of the transform if you believe there was an error.
1 parent 0a4fae3 commit f1f4e8a

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

package.json

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,29 @@
116116
"babel-preset-power-assert"
117117
]
118118
},
119-
"test": {},
119+
"test": {
120+
"presets": [
121+
[
122+
"@babel/preset-env",
123+
{
124+
"targets": "current node"
125+
}
126+
],
127+
"babel-preset-power-assert"
128+
],
129+
"plugins": [
130+
[
131+
"transform-remove-console",
132+
{
133+
"exclude": [
134+
"log",
135+
"error",
136+
"warn"
137+
]
138+
}
139+
]
140+
]
141+
},
120142
"development": {
121143
"sourceMaps": "inline",
122144
"presets": [

0 commit comments

Comments
 (0)