Skip to content

Commit 85ce30e

Browse files
a-flying-potatomake-github-pseudonymous-again
authored andcommittedMar 25, 2021
🤖 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/e086830dfe927964be93f46b8ecdacd2597eb487/src/transforms/babel:setup-env-test.js Please contact the author of the transform if you believe there was an error.
1 parent 9c5d555 commit 85ce30e

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
@@ -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)
Please sign in to comment.