release: v0.6.0 — 完全移除 IndexedDB,自研 KVStore 事务存储引擎(多key原子写/快照日志恢复/CRC自愈)+ KVStoreEngine + 旧库迁移工具 + 10万级压力验证 + 崩溃注入e2e
This commit is contained in:
@@ -7,7 +7,10 @@
|
||||
import { MetonaSqlark } from '../src/core';
|
||||
import { parse } from '../src/sql/parser';
|
||||
import { createSchema } from '../src/table/schema';
|
||||
import 'fake-indexeddb/auto';
|
||||
|
||||
import { installOPFSMock } from './helpers/opfs-mock';
|
||||
|
||||
beforeEach(() => { installOPFSMock(new Map()); });
|
||||
|
||||
let dbCounter = 0;
|
||||
function uniqueDB(): string {
|
||||
@@ -53,7 +56,7 @@ describe('v0.5.1 — 维护语句执行(Aria 引擎)', () => {
|
||||
const db = new MetonaSqlark({
|
||||
name: uniqueDB(),
|
||||
mode: 'aria',
|
||||
diskEngine: 'indexeddb',
|
||||
diskEngine: 'opfs',
|
||||
aria: { checkpointInterval: 100000, walSyncMode: 'full' },
|
||||
});
|
||||
await db.init();
|
||||
|
||||
Reference in New Issue
Block a user