From 46ed37eced4cf300ffab1aa967317149b644fc52 Mon Sep 17 00:00:00 2001 From: asellers_SFDC Date: Fri, 22 Mar 2024 12:00:34 +1100 Subject: [PATCH] fix: updating CN Edition test references --- test/unit/util/sfdcUrlTest.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/util/sfdcUrlTest.ts b/test/unit/util/sfdcUrlTest.ts index b65dc22c0..71013783e 100644 --- a/test/unit/util/sfdcUrlTest.ts +++ b/test/unit/util/sfdcUrlTest.ts @@ -122,7 +122,7 @@ describe('util/sfdcUrl', () => { ); }); }); - describe('china', () => { + describe('cnEdition', () => { it('prod', () => { expect(new SfdcUrl('https://foo.my.sfcrmproducts.cn').toLightningDomain()).to.equal( 'https://foo.lightning.sfcrmapps.cn' @@ -152,12 +152,12 @@ describe('util/sfdcUrl', () => { expect(url.isSalesforceDomain()).to.be.true; }); - it('china', () => { + it('cnEdition', () => { const url = new SfdcUrl('https://foo.my.sfcrmproducts.cn'); expect(url.isSalesforceDomain()).to.be.true; }); - it('china with .com returns value', () => { + it('cnEdition with .com returns value', () => { const url = new SfdcUrl('https://foo.my.sfcrmproducts.com'); expect(url.isSalesforceDomain()).to.be.false; }); @@ -338,10 +338,10 @@ describe('util/sfdcUrl', () => { it('mil but not lightning', () => { expect(new SfdcUrl('https://foo.my.salesforce.mil').isLightningDomain()).to.be.false; }); - it('china', () => { + it('cnEdition', () => { expect(new SfdcUrl('https://foo.lightning.sfcrmapps.cn').isLightningDomain()).to.be.true; }); - it('china but not lightning', () => { + it('cnEdition but not lightning', () => { expect(new SfdcUrl('https://foo.my.sfcrmproducts.cn').isLightningDomain()).to.be.false; }); });