mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
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:
@@ -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> {
|
||||
|
||||
Reference in New Issue
Block a user