Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koechkevin committed Sep 26, 2023
1 parent 8798ff1 commit 0ac3af1
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`<Partners /> renders unchanged 1`] = `
exports[`<AboutPageEntity /> renders unchanged 1`] = `
<div>
<div
class="MuiBox-root css-1gghq2r"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { createRender } from "@commons-ui/testing-library";
import React from "react";

import Page from "./Page";
import AboutPageEntity from "./AboutPageEntity";

import theme from "@/codeforafrica/theme";

Expand All @@ -22,9 +22,9 @@ const defaultProps = {
],
};

describe("<Page />", () => {
describe("<AboutPageEntity />", () => {
it("renders unchanged", () => {
const { container } = render(<Page {...defaultProps} />);
const { container } = render(<AboutPageEntity {...defaultProps} />);
expect(container).toMatchSnapshot();
});
});
4 changes: 2 additions & 2 deletions apps/codeforafrica/src/components/AboutPageEntity/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import Page from "./Page";
import AboutPageEntity from "./AboutPageEntity";

export default Page;
export default AboutPageEntity;

0 comments on commit 0ac3af1

Please sign in to comment.