Skip to content

Commit

Permalink
🪟 🎨 Fix styling of dropdown (#17872)
Browse files Browse the repository at this point in the history
* Fix styling of dropdown

* Adjust jest tests
  • Loading branch information
timroes authored Oct 12, 2022
1 parent 8e6fb79 commit b2b9a3e
Show file tree
Hide file tree
Showing 7 changed files with 1,292 additions and 1,273 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ describe("CreateConnectionForm", () => {
it("should render", async () => {
jest.spyOn(sourceHook, "useDiscoverSchema").mockImplementationOnce(() => baseUseDiscoverSchema);
const renderResult = await render();
expect(renderResult.container).toMatchSnapshot();
expect(renderResult).toMatchSnapshot();
expect(renderResult.queryByText("Please wait a little bit more…")).toBeFalsy();
});

Expand All @@ -54,7 +54,7 @@ describe("CreateConnectionForm", () => {
.mockImplementationOnce(() => ({ ...baseUseDiscoverSchema, isLoading: true }));

const renderResult = await render();
expect(renderResult.container).toMatchSnapshot();
expect(renderResult).toMatchSnapshot();
});

it("should render with an error", async () => {
Expand All @@ -64,6 +64,6 @@ describe("CreateConnectionForm", () => {
}));

const renderResult = await render();
expect(renderResult.container).toMatchSnapshot();
expect(renderResult).toMatchSnapshot();
});
});
Loading

0 comments on commit b2b9a3e

Please sign in to comment.