{Array.from({ length: 1000 }).map((_, i) => (
{i}
))}
@@ -88,6 +78,6 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!.children[0]!
.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
});
diff --git a/src/react/WindowVirtualizer.spec.tsx b/src/react/WindowVirtualizer.spec.tsx
index f1be4c2d..a007c925 100644
--- a/src/react/WindowVirtualizer.spec.tsx
+++ b/src/react/WindowVirtualizer.spec.tsx
@@ -1,7 +1,7 @@
-import { afterEach, it, expect, describe, vitest } from "vitest";
+import { afterEach, it, expect, describe } from "vitest";
import { render, cleanup } from "@testing-library/react";
import { WindowVirtualizer } from "./WindowVirtualizer";
-import { Profiler, ReactElement, forwardRef, useEffect, useState } from "react";
+import { forwardRef } from "react";
import { CustomItemComponentProps } from "./types";
import { setupJsDomEnv } from "../../scripts/spec";
@@ -282,166 +282,166 @@ describe("horizontal", () => {
});
});
-describe("render count", () => {
- it("should render on mount", () => {
- const rootFn = vitest.fn();
- const itemCount = 4;
- const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
-
- render(
-
-
- {Array.from({ length: itemCount }, (_, i) => {
- const key = `item-${i}`;
- return (
-
- {i}
-
- );
- })}
-
-
- );
-
- expect(rootFn).toBeCalledTimes(2);
- itemFns.forEach((itemFn) => {
- expect(itemFn).toHaveBeenCalledTimes(1);
- });
- });
-
- it("should render on mount many items", () => {
- const rootFn = vitest.fn();
- const itemCount = 100;
- const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
-
- render(
-
-
- {Array.from({ length: itemCount }, (_, i) => {
- const key = `item-${i}`;
- return (
-
- {i}
-
- );
- })}
-
-
- );
-
- expect(rootFn).toBeCalledTimes(3);
- itemFns.forEach((itemFn) => {
- expect(itemFn.mock.calls.length).toBeLessThanOrEqual(1);
- });
- });
-
- it("should render on length change", () => {
- let ready = false;
- const wrap = (f: (...args: any[]) => void) => {
- return (...args: any[]) => {
- if (!ready) return;
- f(...args);
- };
- };
- const rootFn = vitest.fn();
-
- const itemCount = 4;
- const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
-
- const Mounter = ({
- children,
- count: initialCount,
- }: {
- children: (count: number) => ReactElement;
- count: number;
- }): ReactElement => {
- const [count, setCount] = useState(initialCount);
- useEffect(() => {
- ready = true;
- setCount((prev) => {
- return prev - 1;
- });
- }, []);
- return children(count);
- };
-
- render(
-
- {(count) => (
-
-
- {Array.from({ length: count }, (_, i) => {
- const key = `item-${i}`;
- return (
-
- {i}
-
- );
- })}
-
-
- )}
-
- );
-
- expect(rootFn).toBeCalledTimes(2);
- itemFns.forEach((itemFn, i) => {
- expect(itemFn).toBeCalledTimes(i === itemFns.length - 1 ? 0 : 1);
- });
- });
-
- it("should render on length change many items", () => {
- let ready = false;
- const wrap = (f: (...args: any[]) => void) => {
- return (...args: any[]) => {
- if (!ready) return;
- f(...args);
- };
- };
- const rootFn = vitest.fn();
-
- const itemCount = 100;
- const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
-
- const Mounter = ({
- children,
- count: initialCount,
- }: {
- children: (count: number) => ReactElement;
- count: number;
- }): ReactElement => {
- const [count, setCount] = useState(initialCount);
- useEffect(() => {
- ready = true;
- setCount((prev) => {
- return prev - 1;
- });
- }, []);
- return children(count);
- };
-
- render(
-
- {(count) => (
-
-
- {Array.from({ length: count }, (_, i) => {
- const key = `item-${i}`;
- return (
-
- {i}
-
- );
- })}
-
-
- )}
-
- );
-
- expect(rootFn).toBeCalledTimes(3);
- itemFns.forEach((itemFn) => {
- expect(itemFn.mock.calls.length).toBeLessThanOrEqual(2); // TODO: should be 1
- });
- });
-});
+// describe("render count", () => {
+// it("should render on mount", () => {
+// const rootFn = vitest.fn();
+// const itemCount = 4;
+// const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
+
+// render(
+//
+//
+// {Array.from({ length: itemCount }, (_, i) => {
+// const key = `item-${i}`;
+// return (
+//
+// {i}
+//
+// );
+// })}
+//
+//
+// );
+
+// expect(rootFn).toBeCalledTimes(2);
+// itemFns.forEach((itemFn) => {
+// expect(itemFn).toHaveBeenCalledTimes(1);
+// });
+// });
+
+// it("should render on mount many items", () => {
+// const rootFn = vitest.fn();
+// const itemCount = 100;
+// const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
+
+// render(
+//
+//
+// {Array.from({ length: itemCount }, (_, i) => {
+// const key = `item-${i}`;
+// return (
+//
+// {i}
+//
+// );
+// })}
+//
+//
+// );
+
+// expect(rootFn).toBeCalledTimes(3);
+// itemFns.forEach((itemFn) => {
+// expect(itemFn.mock.calls.length).toBeLessThanOrEqual(1);
+// });
+// });
+
+// it("should render on length change", () => {
+// let ready = false;
+// const wrap = (f: (...args: any[]) => void) => {
+// return (...args: any[]) => {
+// if (!ready) return;
+// f(...args);
+// };
+// };
+// const rootFn = vitest.fn();
+
+// const itemCount = 4;
+// const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
+
+// const Mounter = ({
+// children,
+// count: initialCount,
+// }: {
+// children: (count: number) => ReactElement;
+// count: number;
+// }): ReactElement => {
+// const [count, setCount] = useState(initialCount);
+// useEffect(() => {
+// ready = true;
+// setCount((prev) => {
+// return prev - 1;
+// });
+// }, []);
+// return children(count);
+// };
+
+// render(
+//
+// {(count) => (
+//
+//
+// {Array.from({ length: count }, (_, i) => {
+// const key = `item-${i}`;
+// return (
+//
+// {i}
+//
+// );
+// })}
+//
+//
+// )}
+//
+// );
+
+// expect(rootFn).toBeCalledTimes(2);
+// itemFns.forEach((itemFn, i) => {
+// expect(itemFn).toBeCalledTimes(i === itemFns.length - 1 ? 0 : 1);
+// });
+// });
+
+// it("should render on length change many items", () => {
+// let ready = false;
+// const wrap = (f: (...args: any[]) => void) => {
+// return (...args: any[]) => {
+// if (!ready) return;
+// f(...args);
+// };
+// };
+// const rootFn = vitest.fn();
+
+// const itemCount = 100;
+// const itemFns = Array.from({ length: itemCount }, (_) => vitest.fn());
+
+// const Mounter = ({
+// children,
+// count: initialCount,
+// }: {
+// children: (count: number) => ReactElement;
+// count: number;
+// }): ReactElement => {
+// const [count, setCount] = useState(initialCount);
+// useEffect(() => {
+// ready = true;
+// setCount((prev) => {
+// return prev - 1;
+// });
+// }, []);
+// return children(count);
+// };
+
+// render(
+//
+// {(count) => (
+//
+//
+// {Array.from({ length: count }, (_, i) => {
+// const key = `item-${i}`;
+// return (
+//
+// {i}
+//
+// );
+// })}
+//
+//
+// )}
+//
+// );
+
+// expect(rootFn).toBeCalledTimes(3);
+// itemFns.forEach((itemFn) => {
+// expect(itemFn.mock.calls.length).toBeLessThanOrEqual(2); // TODO: should be 1
+// });
+// });
+// });
diff --git a/src/react/WindowVirtualizer.ssr.spec.tsx b/src/react/WindowVirtualizer.ssr.spec.tsx
index 61c91d8c..1589846a 100644
--- a/src/react/WindowVirtualizer.ssr.spec.tsx
+++ b/src/react/WindowVirtualizer.ssr.spec.tsx
@@ -26,7 +26,7 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!
.firstElementChild!.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
it("should render items with renderToStaticMarkup and vertical", () => {
@@ -46,7 +46,7 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!
.firstElementChild!.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
it("should render items with renderToString and horizontal", () => {
@@ -54,11 +54,7 @@ describe("SSR", () => {
const OVERSCAN = 4;
const html = renderToString(
-
+
{Array.from({ length: 1000 }).map((_, i) => (
{i}
))}
@@ -70,7 +66,7 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!
.firstElementChild!.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
it("should render items with renderToStaticMarkup and horizontal", () => {
@@ -78,11 +74,7 @@ describe("SSR", () => {
const OVERSCAN = 4;
const html = renderToStaticMarkup(
-
+
{Array.from({ length: 1000 }).map((_, i) => (
{i}
))}
@@ -94,6 +86,6 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!
.firstElementChild!.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
});
diff --git a/src/react/__snapshots__/VGrid.rtl.spec.tsx.snap b/src/react/__snapshots__/VGrid.rtl.spec.tsx.snap
index ead4d1cb..ec546fde 100644
--- a/src/react/__snapshots__/VGrid.rtl.spec.tsx.snap
+++ b/src/react/__snapshots__/VGrid.rtl.spec.tsx.snap
@@ -6,7 +6,7 @@ exports[`rtl > should work 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should work 1`] = `
0 / 1
-
-
@@ -50,76 +36,6 @@ exports[`rtl > should work 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
diff --git a/src/react/__snapshots__/VGrid.spec.tsx.snap b/src/react/__snapshots__/VGrid.spec.tsx.snap
index 7e8f9968..0ab57955 100644
--- a/src/react/__snapshots__/VGrid.spec.tsx.snap
+++ b/src/react/__snapshots__/VGrid.spec.tsx.snap
@@ -26,7 +26,7 @@ exports[`grid > should render 4x4 children 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render 4x4 children 1`] = `
0 / 1
-
-
@@ -70,76 +56,6 @@ exports[`grid > should render 4x4 children 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -151,7 +67,7 @@ exports[`grid > should render 100x100 children 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render 100x100 children 1`] = `
0 / 1
-
-
@@ -195,76 +97,6 @@ exports[`grid > should render 100x100 children 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -276,7 +108,7 @@ exports[`grid > should render 1000x1000 children 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render 1000x1000 children 1`] = `
0 / 1
-
-
@@ -320,76 +138,6 @@ exports[`grid > should render 1000x1000 children 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -401,7 +149,7 @@ exports[`grid > should render 10000x10000 children 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render 10000x10000 children 1`] = `
0 / 1
-
-
@@ -445,76 +179,6 @@ exports[`grid > should render 10000x10000 children 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -526,7 +190,7 @@ exports[`grid > should render component 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render component 1`] = `
0 / 1
-
-
@@ -570,76 +220,6 @@ exports[`grid > should render component 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -684,7 +264,7 @@ exports[`grid > should render non elements 1`] = `
style="overflow: auto; contain: strict; width: 100%; height: 100%;"
>
should render non elements 1`] = `
-
-
@@ -711,7 +285,7 @@ exports[`grid > should render with given width / height 1`] = `
style="overflow: auto; contain: strict; width: 100px; height: 100px;"
>
should render with given width / height 1`] = `
0 / 1
-
-
@@ -755,76 +315,6 @@ exports[`grid > should render with given width / height 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
@@ -841,7 +331,7 @@ exports[`should pass attributes to element 1`] = `
tabindex="0"
>
-
-
@@ -885,76 +361,6 @@ exports[`should pass attributes to element 1`] = `
1 / 1
-
-
-
-
-
-
-
-
-
-
diff --git a/src/react/__snapshots__/VGrid.ssr.spec.tsx.snap b/src/react/__snapshots__/VGrid.ssr.spec.tsx.snap
index 8209de38..3499816a 100644
--- a/src/react/__snapshots__/VGrid.ssr.spec.tsx.snap
+++ b/src/react/__snapshots__/VGrid.ssr.spec.tsx.snap
@@ -1,5 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
-exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
diff --git a/src/react/__snapshots__/VList.rtl.spec.tsx.snap b/src/react/__snapshots__/VList.rtl.spec.tsx.snap
index a0648dea..a79546d0 100644
--- a/src/react/__snapshots__/VList.rtl.spec.tsx.snap
+++ b/src/react/__snapshots__/VList.rtl.spec.tsx.snap
@@ -22,34 +22,6 @@ exports[`rtl > should not work in vertical 1`] = `
1
-
-
-
-
@@ -77,34 +49,6 @@ exports[`rtl > should work in horizontal 1`] = `
1
-
-
-
-
diff --git a/src/react/__snapshots__/VList.spec.tsx.snap b/src/react/__snapshots__/VList.spec.tsx.snap
index f2c5b7b5..4c034e15 100644
--- a/src/react/__snapshots__/VList.spec.tsx.snap
+++ b/src/react/__snapshots__/VList.spec.tsx.snap
@@ -42,27 +42,6 @@ exports[`horizontal > should render 5 children 1`] = `
1
-
-
-
@@ -90,34 +69,6 @@ exports[`horizontal > should render 100 children 1`] = `
1
-
-
-
-
@@ -145,34 +96,6 @@ exports[`horizontal > should render 1000 children 1`] = `
1
-
-
-
-
@@ -200,34 +123,6 @@ exports[`horizontal > should render 10000 children 1`] = `
1
-
-
-
-
@@ -255,13 +150,6 @@ exports[`horizontal > should render component 1`] = `
component
-
@@ -345,27 +233,6 @@ exports[`horizontal > should render with given width / height 1`] = `
1
-
-
-
@@ -389,34 +256,6 @@ exports[`reverse > should render many items 1`] = `
0
-
-
-
-
@@ -472,30 +311,6 @@ exports[`should pass index to items 1`] = `
1
-
-
-
@@ -523,34 +338,6 @@ exports[`should render with render prop 1`] = `
This is 1
-
-
-
-
@@ -610,27 +397,6 @@ exports[`vertical > should render 5 children 1`] = `
1
-
-
-
@@ -658,34 +424,6 @@ exports[`vertical > should render 100 children 1`] = `
1
-
-
-
-
@@ -713,34 +451,6 @@ exports[`vertical > should render 1000 children 1`] = `
1
-
-
-
-
@@ -768,34 +478,6 @@ exports[`vertical > should render 10000 children 1`] = `
1
-
-
-
-
@@ -823,13 +505,6 @@ exports[`vertical > should render component 1`] = `
component
-
@@ -913,27 +588,6 @@ exports[`vertical > should render with given width / height 1`] = `
1
-
-
-
diff --git a/src/react/__snapshots__/VList.ssr.spec.tsx.snap b/src/react/__snapshots__/VList.ssr.spec.tsx.snap
index 918e9fa5..420fb363 100644
--- a/src/react/__snapshots__/VList.ssr.spec.tsx.snap
+++ b/src/react/__snapshots__/VList.ssr.spec.tsx.snap
@@ -1,9 +1,9 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-exports[`SSR > should render items with renderToStaticMarkup and horizontal 1`] = `""`;
+exports[`SSR > should render items with renderToStaticMarkup and horizontal 1`] = `""`;
-exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
-exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
+exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
-exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
diff --git a/src/react/__snapshots__/Virtualizer.spec.tsx.snap b/src/react/__snapshots__/Virtualizer.spec.tsx.snap
index 7ddd05d7..3faa3da1 100644
--- a/src/react/__snapshots__/Virtualizer.spec.tsx.snap
+++ b/src/react/__snapshots__/Virtualizer.spec.tsx.snap
@@ -22,27 +22,6 @@ exports[`should change components 1`] = `
1
-
-
- 2
-
-
-
-
- 3
-
-
-
-
- 4
-
-
diff --git a/src/react/__snapshots__/WindowVirtualizer.rtl.spec.tsx.snap b/src/react/__snapshots__/WindowVirtualizer.rtl.spec.tsx.snap
index 2df9d44a..07e132d2 100644
--- a/src/react/__snapshots__/WindowVirtualizer.rtl.spec.tsx.snap
+++ b/src/react/__snapshots__/WindowVirtualizer.rtl.spec.tsx.snap
@@ -117,34 +117,6 @@ exports[`rtl > should not work in vertical 1`] = `
15
-
-
-
-
`;
@@ -231,34 +203,6 @@ exports[`rtl > should work in horizontal 1`] = `
10
-
-
-
-
`;
diff --git a/src/react/__snapshots__/WindowVirtualizer.spec.tsx.snap b/src/react/__snapshots__/WindowVirtualizer.spec.tsx.snap
index b02ca8c5..0e26be0e 100644
--- a/src/react/__snapshots__/WindowVirtualizer.spec.tsx.snap
+++ b/src/react/__snapshots__/WindowVirtualizer.spec.tsx.snap
@@ -142,34 +142,6 @@ exports[`horizontal > should render 100 children 1`] = `
10
-
-
-
-
`;
@@ -256,34 +228,6 @@ exports[`horizontal > should render 1000 children 1`] = `
10
-
-
-
-
`;
@@ -370,34 +314,6 @@ exports[`horizontal > should render 10000 children 1`] = `
10
-
-
-
-
`;
@@ -694,34 +610,6 @@ exports[`should render with render prop 1`] = `
This is 15
-
-
-
-
`;
@@ -903,34 +791,6 @@ exports[`vertical > should render 100 children 1`] = `
15
-
-
-
-
`;
@@ -1052,34 +912,6 @@ exports[`vertical > should render 1000 children 1`] = `
15
-
-
-
-
`;
@@ -1201,34 +1033,6 @@ exports[`vertical > should render 10000 children 1`] = `
15
-
-
-
-
`;
diff --git a/src/react/__snapshots__/WindowVirtualizer.ssr.spec.tsx.snap b/src/react/__snapshots__/WindowVirtualizer.ssr.spec.tsx.snap
index a7981e34..82eb81ee 100644
--- a/src/react/__snapshots__/WindowVirtualizer.ssr.spec.tsx.snap
+++ b/src/react/__snapshots__/WindowVirtualizer.ssr.spec.tsx.snap
@@ -1,9 +1,9 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-exports[`SSR > should render items with renderToStaticMarkup and horizontal 1`] = `""`;
+exports[`SSR > should render items with renderToStaticMarkup and horizontal 1`] = `""`;
-exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToStaticMarkup and vertical 1`] = `""`;
-exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
+exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
-exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
diff --git a/src/vue/VList.ssr.spec.ts b/src/vue/VList.ssr.spec.ts
index 33e25568..bd880b1a 100644
--- a/src/vue/VList.ssr.spec.ts
+++ b/src/vue/VList.ssr.spec.ts
@@ -32,7 +32,7 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!.children[0]!
.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
it("should render items with renderToString and horizontal", async () => {
@@ -57,6 +57,6 @@ describe("SSR", () => {
expect(
new JSDOM(html).window.document.getElementById(LIST_ID)!.children[0]!
.childElementCount
- ).toEqual(COUNT + OVERSCAN);
+ ).toEqual(COUNT);
});
});
diff --git a/src/vue/__snapshots__/VList.spec.ts.snap b/src/vue/__snapshots__/VList.spec.ts.snap
index 55ece228..a5bd2665 100644
--- a/src/vue/__snapshots__/VList.spec.ts.snap
+++ b/src/vue/__snapshots__/VList.spec.ts.snap
@@ -52,34 +52,6 @@ exports[`horizontal > should render 5 children 1`] = `
0
-
-
-
-
@@ -102,34 +74,6 @@ exports[`horizontal > should render 100 children 1`] = `
0
-
-
-
-
@@ -152,34 +96,6 @@ exports[`horizontal > should render 1000 children 1`] = `
0
-
-
-
-
@@ -202,34 +118,6 @@ exports[`horizontal > should render 10000 children 1`] = `
0
-
-
-
-
@@ -252,20 +140,6 @@ exports[`horizontal > should render component 1`] = `
0
-
-
@@ -288,34 +162,6 @@ exports[`horizontal > should render with given width / height 1`] = `
0
-
-
-
-
@@ -401,34 +247,6 @@ exports[`vertical > should render 5 children 1`] = `
0
-
-
-
-
@@ -451,34 +269,6 @@ exports[`vertical > should render 100 children 1`] = `
0
-
-
-
-
@@ -501,34 +291,6 @@ exports[`vertical > should render 1000 children 1`] = `
0
-
-
-
-
@@ -551,34 +313,6 @@ exports[`vertical > should render 10000 children 1`] = `
0
-
-
-
-
@@ -601,20 +335,6 @@ exports[`vertical > should render component 1`] = `
0
-
-
@@ -637,34 +357,6 @@ exports[`vertical > should render with given width / height 1`] = `
0
-
-
-
-
diff --git a/src/vue/__snapshots__/VList.ssr.spec.ts.snap b/src/vue/__snapshots__/VList.ssr.spec.ts.snap
index c564561b..46e7fa7b 100644
--- a/src/vue/__snapshots__/VList.ssr.spec.ts.snap
+++ b/src/vue/__snapshots__/VList.ssr.spec.ts.snap
@@ -1,5 +1,5 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
-exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
+exports[`SSR > should render items with renderToString and horizontal 1`] = `""`;
-exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
+exports[`SSR > should render items with renderToString and vertical 1`] = `""`;
diff --git a/src/vue/__snapshots__/WindowVirtualizer.spec.ts.snap b/src/vue/__snapshots__/WindowVirtualizer.spec.ts.snap
index 52c71f01..f554c5ab 100644
--- a/src/vue/__snapshots__/WindowVirtualizer.spec.ts.snap
+++ b/src/vue/__snapshots__/WindowVirtualizer.spec.ts.snap
@@ -41,34 +41,6 @@ exports[`horizontal > should render 5 children 1`] = `
0
-
-
-
-