forge
Explore
Log in

Don't you dare go Hollow

hezarfen_frontend

Clone
★ 0

0 watching0 forksTypeScript5.5 MiB5fcd955Burak Boduroğlu2 months ago730 commits

confetti.test.ts8 lines, 297 bytesHistoryRawDownload
1import { describe, expect, it } from "vitest";
2import { triggerConfetti } from "../confetti";
3
4describe("triggerConfetti", () => {
5 it("safely handles server-side / node environment without window object", () => {
6 expect(() => triggerConfetti({ particleCount: 10 })).not.toThrow();
7 });
8});