Skip to content

Commit 56fc305

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/a44c42967442d65fd14272682fb84a6f32feb841/src/transforms/babel:setup-env-test.js Please contact the author of the transform if you believe there was an error.
1 parent 790face commit 56fc305

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

package.json

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,28 @@
118118
]
119119
},
120120
"test": {
121-
"sourceMaps": "inline"
121+
"sourceMaps": "inline",
122+
"presets": [
123+
[
124+
"@babel/preset-env",
125+
{
126+
"targets": "current node"
127+
}
128+
],
129+
"babel-preset-power-assert"
130+
],
131+
"plugins": [
132+
[
133+
"transform-remove-console",
134+
{
135+
"exclude": [
136+
"log",
137+
"error",
138+
"warn"
139+
]
140+
}
141+
]
142+
]
122143
},
123144
"cover": {
124145
"sourceMaps": "both",

0 commit comments

Comments
 (0)