@@ -123,7 +123,7 @@ describe("asynchronicity", () => {
123123 process . chdir ( "plugin" ) ;
124124
125125 expect ( ( ) => babel . transformSync ( "" ) ) . toThrow (
126- `[BABEL] unknown: You appear to be using an async plugin/preset, but Babel` +
126+ `[BABEL] unknown file : You appear to be using an async plugin/preset, but Babel` +
127127 ` has been called synchronously` ,
128128 ) ;
129129 } ) ;
@@ -144,7 +144,7 @@ describe("asynchronicity", () => {
144144 expect ( ( ) =>
145145 babel . transformSync ( "" ) ,
146146 ) . toThrowErrorMatchingInlineSnapshot (
147- `"unknown: You appear to be using an plugin with an async .pre, which your current version` +
147+ `"unknown file : You appear to be using an plugin with an async .pre, which your current version` +
148148 ` of Babel does not support. If you're using a published plugin, you may need to upgrade your` +
149149 ` @babel/core version."` ,
150150 ) ;
@@ -156,7 +156,7 @@ describe("asynchronicity", () => {
156156 await expect (
157157 babel . transformAsync ( "" ) ,
158158 ) . rejects . toThrowErrorMatchingInlineSnapshot (
159- `"unknown: You appear to be using an plugin with an async .pre, which your current version` +
159+ `"unknown file : You appear to be using an plugin with an async .pre, which your current version` +
160160 ` of Babel does not support. If you're using a published plugin, you may need to upgrade your` +
161161 ` @babel/core version."` ,
162162 ) ;
@@ -170,7 +170,7 @@ describe("asynchronicity", () => {
170170 expect ( ( ) =>
171171 babel . transformSync ( "" ) ,
172172 ) . toThrowErrorMatchingInlineSnapshot (
173- `"unknown: You appear to be using an plugin with an async .post, which your current version` +
173+ `"unknown file : You appear to be using an plugin with an async .post, which your current version` +
174174 ` of Babel does not support. If you're using a published plugin, you may need to upgrade your` +
175175 ` @babel/core version."` ,
176176 ) ;
@@ -182,7 +182,7 @@ describe("asynchronicity", () => {
182182 await expect (
183183 babel . transformAsync ( "" ) ,
184184 ) . rejects . toThrowErrorMatchingInlineSnapshot (
185- `"unknown: You appear to be using an plugin with an async .post, which your current version` +
185+ `"unknown file : You appear to be using an plugin with an async .post, which your current version` +
186186 ` of Babel does not support. If you're using a published plugin, you may need to upgrade your` +
187187 ` @babel/core version."` ,
188188 ) ;
@@ -194,7 +194,7 @@ describe("asynchronicity", () => {
194194 process . chdir ( "plugin-inherits" ) ;
195195
196196 expect ( ( ) => babel . transformSync ( "" ) ) . toThrow (
197- `[BABEL] unknown: You appear to be using an async plugin/preset, but Babel has been` +
197+ `[BABEL] unknown file : You appear to be using an async plugin/preset, but Babel has been` +
198198 ` called synchronously` ,
199199 ) ;
200200 } ) ;
@@ -234,7 +234,7 @@ describe("asynchronicity", () => {
234234 process . chdir ( "preset" ) ;
235235
236236 expect ( ( ) => babel . transformSync ( "" ) ) . toThrow (
237- `[BABEL] unknown: You appear to be using an async plugin/preset, ` +
237+ `[BABEL] unknown file : You appear to be using an async plugin/preset, ` +
238238 `but Babel has been called synchronously` ,
239239 ) ;
240240 } ) ;
@@ -253,7 +253,7 @@ describe("asynchronicity", () => {
253253 process . chdir ( "preset-plugin-promise" ) ;
254254
255255 expect ( ( ) => babel . transformSync ( "" ) ) . toThrow (
256- `[BABEL] unknown: You appear to be using a promise as a plugin, which your` +
256+ `[BABEL] unknown file : You appear to be using a promise as a plugin, which your` +
257257 ` current version of Babel does not support. If you're using a published` +
258258 ` plugin, you may need to upgrade your @babel/core version. As an` +
259259 ` alternative, you can prefix the promise with "await".` ,
@@ -264,7 +264,7 @@ describe("asynchronicity", () => {
264264 process . chdir ( "preset-plugin-promise" ) ;
265265
266266 await expect ( babel . transformAsync ( "" ) ) . rejects . toThrow (
267- `[BABEL] unknown: You appear to be using a promise as a plugin, which your` +
267+ `[BABEL] unknown file : You appear to be using a promise as a plugin, which your` +
268268 ` current version of Babel does not support. If you're using a published` +
269269 ` plugin, you may need to upgrade your @babel/core version. As an` +
270270 ` alternative, you can prefix the promise with "await".` ,
0 commit comments