@@ -203,7 +203,6 @@ test('addResourceMetadata can be used to add CFN metadata to resources', () => {
203
203
expect ( stack ) . toHaveResource ( 'My::Resource::Type' , {
204
204
Metadata : {
205
205
'aws:asset:path' : 'asset.6b84b87243a4a01c592d78e1fd3855c4bfef39328cd0a450cc97e81717fea2a2' ,
206
- 'aws:asset:original-path' : location ,
207
206
'aws:asset:is-bundled' : false ,
208
207
'aws:asset:property' : 'PropName' ,
209
208
} ,
@@ -224,7 +223,6 @@ test('asset metadata is only emitted if ASSET_RESOURCE_METADATA_ENABLED_CONTEXT
224
223
expect ( stack ) . not . toHaveResource ( 'My::Resource::Type' , {
225
224
Metadata : {
226
225
'aws:asset:path' : SAMPLE_ASSET_DIR ,
227
- 'aws:asset:original-path' : SAMPLE_ASSET_DIR ,
228
226
'aws:asset:is-bundled' : false ,
229
227
'aws:asset:property' : 'PropName' ,
230
228
} ,
@@ -355,7 +353,6 @@ describe('staging', () => {
355
353
const template = SynthUtils . synthesize ( stack ) . template ;
356
354
expect ( template . Resources . MyResource . Metadata ) . toEqual ( {
357
355
'aws:asset:path' : 'asset.6b84b87243a4a01c592d78e1fd3855c4bfef39328cd0a450cc97e81717fea2a2' ,
358
- 'aws:asset:original-path' : SAMPLE_ASSET_DIR ,
359
356
'aws:asset:is-bundled' : false ,
360
357
'aws:asset:property' : 'PropName' ,
361
358
} ) ;
@@ -383,7 +380,6 @@ describe('staging', () => {
383
380
const template = SynthUtils . synthesize ( stack ) . template ;
384
381
expect ( template . Resources . MyResource . Metadata ) . toEqual ( {
385
382
'aws:asset:path' : SAMPLE_ASSET_DIR ,
386
- 'aws:asset:original-path' : SAMPLE_ASSET_DIR ,
387
383
'aws:asset:is-bundled' : false ,
388
384
'aws:asset:property' : 'PropName' ,
389
385
} ) ;
0 commit comments