@@ -26,7 +26,7 @@ describe("core flags", () => {
2626 it ( "should ignore the warning emitted" , async ( ) => {
2727 const { exitCode, stderr, stdout } = await run ( __dirname , [
2828 "--ignore-warnings" ,
29- / G e n e r a t e d W a r n i n g / ,
29+ " /Generated Warning/" ,
3030 "--config" ,
3131 "warning.config.js" ,
3232 ] ) ;
@@ -40,7 +40,7 @@ describe("core flags", () => {
4040 it ( "should reset options.ignoreWarnings" , async ( ) => {
4141 const { exitCode, stderr, stdout } = await run ( __dirname , [
4242 "--ignore-warnings" ,
43- / G e n e r a t e d W a r n i n g / ,
43+ " /Generated Warning/" ,
4444 "--ignore-warnings-reset" ,
4545 "--config" ,
4646 "warning.config.js" ,
@@ -211,7 +211,7 @@ describe("core flags", () => {
211211 it ( "should allow RegExp value for `infrastructureLogging.debug`" , async ( ) => {
212212 const { exitCode, stderr, stdout } = await run ( __dirname , [
213213 "--infrastructure-logging-debug" ,
214- / M y P l u g i n / ,
214+ " /MyPlugin/" ,
215215 ] ) ;
216216
217217 expect ( exitCode ) . toBe ( 0 ) ;
@@ -223,7 +223,7 @@ describe("core flags", () => {
223223 const { exitCode, stderr, stdout } = await run ( __dirname , [
224224 "--infrastructure-logging-debug" ,
225225 "MyPlugin" ,
226- / M y A n o t h e r P l u g i n / ,
226+ " /MyAnotherPlugin/" ,
227227 ] ) ;
228228
229229 expect ( exitCode ) . toBe ( 0 ) ;
0 commit comments