@@ -57,31 +57,31 @@ describe('resolveImageID', () => {
5757 it ( 'matches' , async ( ) => {
5858 const imageID = 'sha256:bfb45ab72e46908183546477a08f8867fc40cebadd00af54b071b097aed127a9' ;
5959 const build = new Build ( ) ;
60- await fs . writeFileSync ( build . getImageIDFilePath ( ) , imageID ) ;
60+ fs . writeFileSync ( build . getImageIDFilePath ( ) , imageID ) ;
6161 expect ( build . resolveImageID ( ) ) . toEqual ( imageID ) ;
6262 } ) ;
6363} ) ;
6464
6565describe ( 'resolveMetadata' , ( ) => {
6666 it ( 'matches' , async ( ) => {
6767 const build = new Build ( ) ;
68- await fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
68+ fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
6969 expect ( build . resolveMetadata ( ) ) . toEqual ( metadata ) ;
7070 } ) ;
7171} ) ;
7272
7373describe ( 'resolveRef' , ( ) => {
7474 it ( 'matches' , async ( ) => {
7575 const build = new Build ( ) ;
76- await fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
76+ fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
7777 expect ( build . resolveRef ( ) ) . toEqual ( 'default/default/n6ibcp9b2pw108rrz7ywdznvo' ) ;
7878 } ) ;
7979} ) ;
8080
8181describe ( 'resolveDigest' , ( ) => {
8282 it ( 'matches' , async ( ) => {
8383 const build = new Build ( ) ;
84- await fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
84+ fs . writeFileSync ( build . getMetadataFilePath ( ) , JSON . stringify ( metadata ) ) ;
8585 expect ( build . resolveDigest ( ) ) . toEqual ( 'sha256:b09b9482c72371486bb2c1d2c2a2633ed1d0b8389e12c8d52b9e052725c0c83c' ) ;
8686 } ) ;
8787} ) ;
@@ -127,7 +127,7 @@ describe('getProvenanceInput', () => {
127127 ''
128128 ] ,
129129 ] ) ( 'given input %p' , async ( input : string , expected : string ) => {
130- await setInput ( 'provenance' , input ) ;
130+ setInput ( 'provenance' , input ) ;
131131 expect ( Build . getProvenanceInput ( 'provenance' ) ) . toEqual ( expected ) ;
132132 } ) ;
133133} ) ;
0 commit comments