Skip to content

Instantly share code, notes, and snippets.

@marta-pinkowska
Last active February 20, 2023 17:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save marta-pinkowska/f3fbcb053710b376643a98215b7f31e0 to your computer and use it in GitHub Desktop.
Save marta-pinkowska/f3fbcb053710b376643a98215b7f31e0 to your computer and use it in GitHub Desktop.
// src/FancyHomepageFeature/__tests__/FancyHomePage.test.js
import { FancyHomePage } from "../FancyHomePage";
import { setupHomeHandlers } from "./msw/mswHandlers";
describe("<FancyHomePage />", () => {
beforeEach(() => setupHomeHandlers());
test("displays homepage data", async () => {
// Render homepage with backend data
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment