mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Fixing tests
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
27ca597f3a
commit
18f3f18699
@ -145,13 +145,13 @@ describe("<ExtensionSettingsPage/>", () => {
|
||||
const location = createLocation("/preferences/extension-settings/invalid-url");
|
||||
const { getByText } = render(<ExtensionSettingsPage history={history} location={location} match={routeMatch}/>);
|
||||
|
||||
expect(getByText("No settings found")).toBeInTheDocument();
|
||||
expect(getByText("No settings found.")).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it("renders error message if no extension id passed in URL", () => {
|
||||
const location = createLocation("/preferences/extension-settings");
|
||||
const { getByText } = render(<ExtensionSettingsPage history={history} location={location} match={routeMatch}/>);
|
||||
|
||||
expect(getByText("No extension id provided in URL")).toBeInTheDocument();
|
||||
expect(getByText("No extension id provided in URL.")).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user