@@ -896,27 +896,27 @@ t.test('workspaces', t => {
896896 t . match ( RUN_SCRIPTS , [ ] )
897897 t . strictSame ( LOG . map ( cleanOutput ) , [
898898 'Lifecycle script `missing-script` failed with error:' ,
899- 'Error: Missing script: "missing-script"' ,
899+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
900900 ' in workspace: [email protected] ' , 901901 ' at location: {CWD}/test/lib/run-script-workspaces/packages/a' ,
902902 'Lifecycle script `missing-script` failed with error:' ,
903- 'Error: Missing script: "missing-script"' ,
903+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
904904 ' in workspace: [email protected] ' , 905905 ' at location: {CWD}/test/lib/run-script-workspaces/packages/b' ,
906906 'Lifecycle script `missing-script` failed with error:' ,
907- 'Error: Missing script: "missing-script"' ,
907+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
908908 ' in workspace: [email protected] ' , 909909 ' at location: {CWD}/test/lib/run-script-workspaces/packages/c' ,
910910 'Lifecycle script `missing-script` failed with error:' ,
911- 'Error: Missing script: "missing-script"' ,
911+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
912912 ' in workspace: [email protected] ' , 913913 ' at location: {CWD}/test/lib/run-script-workspaces/packages/d' ,
914914 'Lifecycle script `missing-script` failed with error:' ,
915- 'Error: Missing script: "missing-script"' ,
915+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
916916 ' in workspace: e' ,
917917 ' at location: {CWD}/test/lib/run-script-workspaces/packages/e' ,
918918 'Lifecycle script `missing-script` failed with error:' ,
919- 'Error: Missing script: "missing-script"' ,
919+ 'Error: Missing script: "missing-script"\n\nTo see a list of scripts, run:\n npm run ' ,
920920 ' in workspace: [email protected] ' , 921921 ' at location: {CWD}/test/lib/run-script-workspaces/packages/noscripts' ,
922922 ] , 'should log error msgs for each workspace script' )
@@ -937,11 +937,11 @@ t.test('workspaces', t => {
937937 t . match ( RUN_SCRIPTS , [ ] )
938938 t . strictSame ( LOG . map ( cleanOutput ) , [
939939 'Lifecycle script `test` failed with error:' ,
940- 'Error: Missing script: "test"' ,
940+ 'Error: Missing script: "test"\n\nTo see a list of scripts, run:\n npm run ' ,
941941 ' in workspace: [email protected] ' , 942942 ' at location: {CWD}/test/lib/run-script-workspaces/packages/a' ,
943943 'Lifecycle script `test` failed with error:' ,
944- 'Error: Missing script: "test"' ,
944+ 'Error: Missing script: "test"\n\nTo see a list of scripts, run:\n npm run ' ,
945945 ' in workspace: [email protected] ' , 946946 ' at location: {CWD}/test/lib/run-script-workspaces/packages/b' ,
947947 ] , 'should log error msgs for each workspace script' )
0 commit comments