Skip to content

Commit

Permalink
Merge branch 'handle-404-errors-with-react-router-manufacturers' into…
Browse files Browse the repository at this point in the history
… nested-routes-for-admin-page-#1211
  • Loading branch information
joshuadkitenge committed Jan 8, 2025
2 parents 174afed + ecc029b commit bc578b4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html

exports[`Manufacturer > renders table data correctly 1`] = `
exports[`Manufacturer Table > renders table data correctly 1`] = `
<DocumentFragment>
<div
class="MuiPaper-root MuiPaper-elevation MuiPaper-rounded MuiPaper-elevation2 css-1s80a98-MuiPaper-root"
Expand Down
12 changes: 0 additions & 12 deletions src/manufacturer/manufacturerLandingPage.component.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,18 +42,6 @@ describe('Manufacturer Landing page', () => {
expect(screen.getAllByText('None')[1]).toBeInTheDocument();
});

it('shows no manufacturer page correctly', async () => {
createView('/manufacturers/invalid');

await waitFor(() => {
expect(
screen.getByText(
`This manufacturer doesn't exist. Please click the Home button to navigate to the manufacturer table`
)
).toBeInTheDocument();
});
});

it('shows the loading indicator', async () => {
createView('/manufacturers/1');

Expand Down

0 comments on commit bc578b4

Please sign in to comment.