Skip to content

Commit

Permalink
fix: updating CN Edition test references
Browse files Browse the repository at this point in the history
  • Loading branch information
asellers_SFDC committed Mar 22, 2024
1 parent 873b4c9 commit 46ed37e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/unit/util/sfdcUrlTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down Expand Up @@ -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;
});
Expand Down Expand Up @@ -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;
});
});
Expand Down

0 comments on commit 46ed37e

Please sign in to comment.