Reenable disabled tests post VSCode refresh (#20899)

* Reenable disabled tests

* Extension unit test updates

* Turn off data workspace tests on Linux

* Keep integration and smoke tests disabled
This commit is contained in:
Karl Burtram
2022-10-21 21:40:52 -07:00
committed by GitHub
parent 3e1f2b0d9d
commit 5a7ae8a3d0
12 changed files with 342 additions and 95 deletions

View File

@@ -22,7 +22,7 @@ describe('DataItemCache', function (): void {
});
it('Should be initialized empty', function (): void {
should(dataItemCache).not.have.property('cachedItem').and.be.undefined();
should(dataItemCache).property('cachedItem').be.undefined();
});
it('Should be initialized as expired', function (): void {
@@ -52,7 +52,7 @@ describe('DataItemCache', function (): void {
await dataItemCache.getData();
await dataItemCache.getData();
fetchFunctionMock.verify(fx => fx() ,TypeMoq.Times.once());
fetchFunctionMock.verify(fx => fx(), TypeMoq.Times.once());
});
it('Should call fetch function twice for consecutive getValue() calls if TTL expires in between', async function (): Promise<void> {