aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/components/HeaderBar.test.tsx
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2021-01-03 18:18:52 +0000
committerGravatar GitHub <[email protected]>2021-01-03 18:18:52 +0000
commit2e674d14ca1cd8037f8bbd33cdf415a2e4970ae1 (patch)
tree93d2f7186a31cf6502810170d94fc77634c89f4d /src/tests/components/HeaderBar.test.tsx
parentTypo fix in GHA (diff)
parentAdds Pre-commit Hook (diff)
Merge pull request #72 from python-discord/dev-workflow
Update Developer Workflow
Diffstat (limited to 'src/tests/components/HeaderBar.test.tsx')
-rw-r--r--src/tests/components/HeaderBar.test.tsx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tests/components/HeaderBar.test.tsx b/src/tests/components/HeaderBar.test.tsx
index 6963859..9c232ad 100644
--- a/src/tests/components/HeaderBar.test.tsx
+++ b/src/tests/components/HeaderBar.test.tsx
@@ -1,15 +1,15 @@
-import React from 'react';
-import { render } from '@testing-library/react';
-import '@testing-library/jest-dom/extend-expect'
+import React from "react";
+import { render } from "@testing-library/react";
+import "@testing-library/jest-dom/extend-expect";
import HeaderBar from "../../components/HeaderBar";
-test('renders header bar with title', () => {
+test("renders header bar with title", () => {
const { getByText } = render(<HeaderBar />);
const formListing = getByText(/Python Discord Forms/i);
expect(formListing).toBeInTheDocument();
});
-test('renders header bar with custom title', () => {
+test("renders header bar with custom title", () => {
const { getByText } = render(<HeaderBar title="Testing title"/>);
const formListing = getByText(/Testing title/i);
expect(formListing).toBeInTheDocument();