mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
Fix #138272
This commit is contained in:
parent
1076090966
commit
52e20877aa
|
@ -4,8 +4,9 @@
|
|||
*--------------------------------------------------------------------------------------------*/
|
||||
import * as assert from 'assert';
|
||||
import { IndexedDB } from 'vs/base/browser/indexedDB';
|
||||
import { flakySuite } from 'vs/base/test/common/testUtils';
|
||||
|
||||
suite('IndexedDB', () => {
|
||||
flakySuite('IndexedDB', () => {
|
||||
|
||||
let indexedDB: IndexedDB;
|
||||
|
||||
|
@ -15,7 +16,9 @@ suite('IndexedDB', () => {
|
|||
});
|
||||
|
||||
teardown(() => {
|
||||
indexedDB.close();
|
||||
if (indexedDB) {
|
||||
indexedDB.close();
|
||||
}
|
||||
});
|
||||
|
||||
test('runInTransaction', async () => {
|
||||
|
|
Loading…
Reference in a new issue