test: verify database migration and scheduled operations

This commit is contained in:
陈煜 committed 2026-10-02 17:56:44 +08:00
1 parent 86c6daf695
commit 932a864ed6
5 files changed
+96 -5

No files matched your search

+1 -1
View File
@@ -151,7 +151,7 @@ test('borrow/lend/collect/repay pair balances atomically and survive concurrency
200,
);
const backup = (await call(a.token, '/backup')).data;
assert.equal(JSON.parse(packBackup(backup)['manifest.json']).version, 6);
assert.equal(JSON.parse(packBackup(backup)['manifest.json']).version, 7);
assert.equal(backup.transfers.length, 5);
assert.ok(backup.transfers.some((p: any) => p.operation === 'lend' && p.fee === '-2'));
assert.equal(