Skip to content

Commit bbcf41a

Browse files
committed
fix test for prune
1 parent 90dbb32 commit bbcf41a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/component/lib.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,16 +249,19 @@ describe("prosemirror lib", () => {
249249
id,
250250
version: 1,
251251
content: "content",
252+
pruneSnapshots: true,
252253
});
253254
await t.mutation(api.lib.submitSnapshot, {
254255
id,
255256
version: 2,
256257
content: "content2",
258+
pruneSnapshots: true,
257259
});
258260
await t.mutation(api.lib.submitSnapshot, {
259261
id,
260262
version: 3,
261263
content: "content3",
264+
pruneSnapshots: true,
262265
});
263266
const { content, version } = await t.query(api.lib.getSnapshot, {
264267
id,

0 commit comments

Comments
 (0)