Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#3171139: Add ButtonLink #46

Merged
merged 3 commits into from
Mar 2, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fix tests
  • Loading branch information
Nemobot committed Mar 2, 2022
commit 9c7ff6a75a2b5c2cd23adf297b24fb60691460dc
4 changes: 2 additions & 2 deletions test/useToast.test.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { render, screen, waitFor, waitForElementToBeRemoved } from "@testing-library/react";
import user from "@testing-library/user-event";
import { createButton, createToast, unsafeLocalizedString, useToast } from "../src";
import { createButtons, createToast, unsafeLocalizedString, useToast } from "../src";

const Button = createButton({});
const { Button } = createButtons();
const { ToastProvider } = createToast(Button, {});
const message = unsafeLocalizedString("This is a message for you");
const kind = "informative";
Expand Down