@@ -89,18 +89,17 @@ test.each(inputs)("setupPipeline tsgo input=%s", async input => {
8989 error = e ;
9090 }
9191
92- await expect ( result ?. matrix ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "matrix" ) ) ;
93- await expect ( result ?. outputVariables ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "outputVariables" ) ) ;
94- await expect ( result ?. compute ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "compute" ) ) ;
95- await expect ( result ?. parameters ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "parameters" ) ) ;
96- await expect ( error ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "error" ) ) ;
92+ await expect ( result ?. matrix ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "matrix" ) ) ;
93+ await expect ( result ?. outputVariables ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "outputVariables" ) ) ;
94+ await expect ( result ?. compute ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "compute" ) ) ;
95+ await expect ( result ?. parameters ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "parameters" ) ) ;
96+ await expect ( error ) . toMatchFileSnapshot ( getSnapshotPath ( input + "_tsgo" , "error" ) ) ;
9797} ) ;
9898
99-
10099function getAllExpectedSnapshots ( ) {
101100 return new Set ( [
102101 ...allSnapshotKinds . flatMap ( kind => inputs . map ( input => getSnapshotPath ( input , kind ) ) ) ,
103- ...allSnapshotKinds . flatMap ( kind => inputs . map ( input => getSnapshotPath ( input + "_tsgo" , kind ) ) ) ,
102+ ...allSnapshotKinds . flatMap ( kind => inputs . map ( input => getSnapshotPath ( input + "_tsgo" , kind ) ) ) ,
104103 ] ) ;
105104}
106105
@@ -127,6 +126,8 @@ test("abandoned snapshots", () => {
127126 }
128127
129128 if ( abandonedSnapshots . length ) {
130- throw new Error ( "Abandoned snapshots found; please update snapshots to remove them:\n" + abandonedSnapshots . join ( "\n" ) ) ;
129+ throw new Error (
130+ "Abandoned snapshots found; please update snapshots to remove them:\n" + abandonedSnapshots . join ( "\n" ) ,
131+ ) ;
131132 }
132133} ) ;
0 commit comments