@@ -1376,12 +1376,12 @@ describe('MetadataApiDeploy', () => {
13761376 deleted : 'false' ,
13771377 success : 'true' ,
13781378 fullName : `MyApp/${ relativePath } ` ,
1379- componentType : 'WebApplicationResource ' ,
1380- fileName : `webapplications /MyApp/${ relativePath } ` ,
1379+ componentType : 'UIBundleResource ' ,
1380+ fileName : `uiBundles /MyApp/${ relativePath } ` ,
13811381 ...overrides ,
13821382 } as DeployMessage ) ;
13831383
1384- it ( 'should build per-file responses for each WebApplicationResource message' , ( ) => {
1384+ it ( 'should build per-file responses for each UIBundleResource message' , ( ) => {
13851385 const component = makeWebAppComponent ( ) ;
13861386 const deployedSet = new ComponentSet ( [ component ] ) ;
13871387 const apiStatus : Partial < MetadataApiDeployStatus > = {
@@ -1476,7 +1476,7 @@ describe('MetadataApiDeploy', () => {
14761476 expect ( deletedFile ! . state ) . to . equal ( ComponentStatus . Deleted ) ;
14771477 } ) ;
14781478
1479- it ( 'should include error and problemType for failed WebApplicationResource messages' , ( ) => {
1479+ it ( 'should include error and problemType for failed UIBundleResource messages' , ( ) => {
14801480 const component = makeWebAppComponent ( ) ;
14811481 const deployedSet = new ComponentSet ( [ component ] ) ;
14821482 const problem = 'Invalid markup in index.html' ;
@@ -1492,8 +1492,8 @@ describe('MetadataApiDeploy', () => {
14921492 problem,
14931493 problemType,
14941494 fullName : 'MyApp/dist/index.html' ,
1495- componentType : 'WebApplicationResource ' ,
1496- fileName : 'webapplications /MyApp/dist/index.html' ,
1495+ componentType : 'UIBundleResource ' ,
1496+ fileName : 'uiBundles /MyApp/dist/index.html' ,
14971497 } as DeployMessage ,
14981498 } ,
14991499 } ;
@@ -1533,7 +1533,7 @@ describe('MetadataApiDeploy', () => {
15331533 expect ( filePaths ) . to . not . include ( join ( bundlePath , 'languages' , 'en_US.json' ) ) ;
15341534 } ) ;
15351535
1536- it ( 'should NOT warn for consumed WebApplicationResource messages' , ( ) => {
1536+ it ( 'should NOT warn for consumed UIBundleResource messages' , ( ) => {
15371537 const warnSpy = $$ . SANDBOX . stub ( Lifecycle . prototype , 'emitWarning' ) ;
15381538 const emitSpy = $$ . SANDBOX . stub ( Lifecycle . prototype , 'emit' ) ;
15391539
0 commit comments