@@ -439,7 +439,9 @@ describe('socket fix', async () => {
439439 async cmd => {
440440 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
441441 const output = stdout + stderr
442- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
442+ expect ( output ) . toMatch (
443+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
444+ )
443445 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
444446 } ,
445447 )
@@ -452,7 +454,9 @@ describe('socket fix', async () => {
452454 cwd : path . join ( fixtureBaseDir , 'pnpm/vulnerable-deps' ) ,
453455 } )
454456 const output = stdout + stderr
455- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
457+ expect ( output ) . toMatch (
458+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
459+ )
456460 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
457461 } ,
458462 { timeout : testTimeout } ,
@@ -466,7 +470,9 @@ describe('socket fix', async () => {
466470 cwd : path . join ( fixtureBaseDir , 'pnpm/monorepo' ) ,
467471 } )
468472 const output = stdout + stderr
469- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
473+ expect ( output ) . toMatch (
474+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
475+ )
470476 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
471477 } ,
472478 { timeout : testTimeout } ,
@@ -502,7 +508,9 @@ describe('socket fix', async () => {
502508 async cmd => {
503509 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
504510 const output = stdout + stderr
505- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
511+ expect ( output ) . toMatch (
512+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
513+ )
506514 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
507515 } ,
508516 )
@@ -513,7 +521,9 @@ describe('socket fix', async () => {
513521 async cmd => {
514522 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
515523 const output = stdout + stderr
516- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
524+ expect ( output ) . toMatch (
525+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
526+ )
517527 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
518528 } ,
519529 )
@@ -524,7 +534,9 @@ describe('socket fix', async () => {
524534 async cmd => {
525535 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
526536 const output = stdout + stderr
527- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
537+ expect ( output ) . toMatch (
538+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
539+ )
528540 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
529541 } ,
530542 )
@@ -542,7 +554,9 @@ describe('socket fix', async () => {
542554 async cmd => {
543555 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
544556 const output = stdout + stderr
545- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
557+ expect ( output ) . toMatch (
558+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
559+ )
546560 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
547561 } ,
548562 )
@@ -553,7 +567,9 @@ describe('socket fix', async () => {
553567 async cmd => {
554568 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
555569 const output = stdout + stderr
556- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
570+ expect ( output ) . toMatch (
571+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
572+ )
557573 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
558574 } ,
559575 )
@@ -564,7 +580,9 @@ describe('socket fix', async () => {
564580 async cmd => {
565581 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
566582 const output = stdout + stderr
567- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
583+ expect ( output ) . toMatch (
584+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
585+ )
568586 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
569587 } ,
570588 )
@@ -575,7 +593,9 @@ describe('socket fix', async () => {
575593 async cmd => {
576594 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
577595 const output = stdout + stderr
578- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
596+ expect ( output ) . toMatch (
597+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
598+ )
579599 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
580600 } ,
581601 )
@@ -596,7 +616,9 @@ describe('socket fix', async () => {
596616 cwd : path . join ( fixtureBaseDir , 'pnpm/vulnerable-deps' ) ,
597617 } )
598618 const output = stdout + stderr
599- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
619+ expect ( output ) . toMatch (
620+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
621+ )
600622 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
601623 } ,
602624 )
@@ -616,7 +638,9 @@ describe('socket fix', async () => {
616638 cwd : path . join ( fixtureBaseDir , 'pnpm/vulnerable-deps' ) ,
617639 } )
618640 const output = stdout + stderr
619- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
641+ expect ( output ) . toMatch (
642+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
643+ )
620644 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
621645 } ,
622646 )
@@ -638,7 +662,9 @@ describe('socket fix', async () => {
638662 cwd : path . join ( fixtureBaseDir , 'pnpm/vulnerable-deps' ) ,
639663 } )
640664 const output = stdout + stderr
641- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
665+ expect ( output ) . toMatch (
666+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
667+ )
642668 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
643669 } ,
644670 )
@@ -662,7 +688,9 @@ describe('socket fix', async () => {
662688 cwd : path . join ( fixtureBaseDir , 'pnpm/vulnerable-deps' ) ,
663689 } )
664690 const output = stdout + stderr
665- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
691+ expect ( output ) . toMatch (
692+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
693+ )
666694 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
667695 } ,
668696 )
@@ -685,7 +713,9 @@ describe('socket fix', async () => {
685713 cwd : path . join ( fixtureBaseDir , 'pnpm/monorepo' ) ,
686714 } )
687715 const output = stdout + stderr
688- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
716+ expect ( output ) . toMatch (
717+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
718+ )
689719 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
690720 } ,
691721 )
@@ -703,7 +733,9 @@ describe('socket fix', async () => {
703733 async cmd => {
704734 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
705735 const output = stdout + stderr
706- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
736+ expect ( output ) . toMatch (
737+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
738+ )
707739 expect ( code ) . toBeGreaterThan ( 0 )
708740 } ,
709741 )
@@ -748,7 +780,9 @@ describe('socket fix', async () => {
748780 async cmd => {
749781 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
750782 const output = stdout + stderr
751- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
783+ expect ( output ) . toMatch (
784+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
785+ )
752786 expect ( code ) . toBeGreaterThan ( 0 )
753787 } ,
754788 { timeout : testTimeout } ,
@@ -760,7 +794,9 @@ describe('socket fix', async () => {
760794 async cmd => {
761795 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
762796 const output = stdout + stderr
763- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
797+ expect ( output ) . toMatch (
798+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
799+ )
764800 expect ( code ) . toBeGreaterThan ( 0 )
765801 } ,
766802 { timeout : testTimeout } ,
@@ -812,7 +848,9 @@ describe('socket fix', async () => {
812848 async cmd => {
813849 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
814850 const output = stdout + stderr
815- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
851+ expect ( output ) . toMatch (
852+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
853+ )
816854 expect ( code ) . toBeGreaterThan ( 0 )
817855 } ,
818856 )
@@ -954,7 +992,9 @@ describe('socket fix', async () => {
954992 async cmd => {
955993 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
956994 const output = stdout + stderr
957- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
995+ expect ( output ) . toMatch (
996+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
997+ )
958998 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
959999 } ,
9601000 )
@@ -1249,7 +1289,9 @@ describe('socket fix', async () => {
12491289 async cmd => {
12501290 const { code, stderr, stdout } = await spawnSocketCli ( binCliPath , cmd )
12511291 const output = stdout + stderr
1252- expect ( output ) . toMatch ( / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / )
1292+ expect ( output ) . toMatch (
1293+ / U n a b l e t o r e s o l v e | A n e r r o r w a s t h r o w n w h i l e r e q u e s t i n g / ,
1294+ )
12531295 expect ( code , 'should exit with non-zero code' ) . not . toBe ( 0 )
12541296 } ,
12551297 )
0 commit comments