We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 453d8dd commit ed2fd24Copy full SHA for ed2fd24
test/unit/persisters/persisters.test.ts
@@ -324,10 +324,11 @@ describe.each([
324
test('does not autoLoad from non-existent', async () => {
325
if (persistable.testMissing) {
326
store.setTables({t1: {r1: {c1: 1}}});
327
- await persistable
+ const persister = await persistable
328
.getPersister(store, join(tmp.dirSync().name, '_'))
329
.startAutoLoad();
330
expect(store.getTables()).toEqual({t1: {r1: {c1: 1}}});
331
+ persister.destroy();
332
}
333
});
334
0 commit comments