Skip to content

Commit 5697d89

Browse files
committed
Update toast.test.ts
1 parent 82ec80c commit 5697d89

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

assets/test/component/toast.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { describe, expect, it, afterEach } from "vitest";
2+
import type { ActionOptions } from "@zag-js/toast";
23
import {
34
actionClassTokens,
45
createToast,
@@ -104,7 +105,7 @@ describe("toast group API", () => {
104105
label: '<span data-testid="custom-label">Open</span>',
105106
labelHtml: true,
106107
onClick: () => {},
107-
},
108+
} as ActionOptions & { labelHtml?: boolean },
108109
});
109110
group.render();
110111

0 commit comments

Comments
 (0)