Skip to content

Commit a289a09

Browse files
committed
address linting issues
1 parent f4ef816 commit a289a09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/unit/project.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ describe('SfProject', () => {
3333
const json = await SfProjectJson.create();
3434
json.set('packageAliases', { MyName: 'somePackage' });
3535
await json.write();
36-
expect($$.getConfigStubContents('SfProjectJson').packageAliases!['MyName']).to.equal('somePackage');
36+
expect(($$.getConfigStubContents('SfProjectJson').packageAliases as any)['MyName']).to.equal('somePackage');
3737
});
3838
it('allows uppercase packaging aliases on read', async () => {
3939
$$.setConfigStubContents('SfProjectJson', { contents: { packageAliases: { MyName: 'somePackage' } } });
@@ -61,7 +61,7 @@ describe('SfProject', () => {
6161
const json = await SfProjectJson.create();
6262
json.set('packageBundleAliases', { MyName: 'someBundle' });
6363
await json.write();
64-
expect($$.getConfigStubContents('SfProjectJson').packageBundleAliases!['MyName']).to.equal('someBundle');
64+
expect(($$.getConfigStubContents('SfProjectJson').packageBundleAliases as any)['MyName']).to.equal('someBundle');
6565
});
6666
it('allows uppercase packaging aliases on read', async () => {
6767
$$.setConfigStubContents('SfProjectJson', { contents: { packageBundleAliases: { MyName: 'someBundle' } } });

0 commit comments

Comments
 (0)