mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-05 03:19:52 +08:00
fix: lint
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import { randomUUID } from 'node:crypto';
|
||||||
|
|
||||||
import { TestingModule } from '@nestjs/testing';
|
import { TestingModule } from '@nestjs/testing';
|
||||||
import type { Snapshot } from '@prisma/client';
|
import type { Snapshot } from '@prisma/client';
|
||||||
import { PrismaClient } from '@prisma/client';
|
import { PrismaClient } from '@prisma/client';
|
||||||
@@ -262,6 +264,7 @@ test('should be able to recover from history', async t => {
|
|||||||
await adapter.createDocHistory(getSnapshot(history1Timestamp));
|
await adapter.createDocHistory(getSnapshot(history1Timestamp));
|
||||||
|
|
||||||
await adapter.rollbackDoc(
|
await adapter.rollbackDoc(
|
||||||
|
randomUUID(),
|
||||||
snapshot.workspaceId,
|
snapshot.workspaceId,
|
||||||
snapshot.id,
|
snapshot.id,
|
||||||
history1Timestamp
|
history1Timestamp
|
||||||
|
|||||||
Reference in New Issue
Block a user