Merged in chore/fix-tests (pull request #3430)
Chore/fix tests * chore: Upgrade nextjs@16.1.1 * chore: upgrade next@16.1.1 * upgrade underlying types * merge * Fix broken tests * bump @swc/plugin-formatjs to latest version * bump sentry * transpile "import-in-the-middle" & "require-in-the-middle" * revert next@16.1.1 upgrade * revert transpilation addition * .
This commit is contained in:
@@ -560,8 +560,8 @@ export const TextWithIcon: Story = {
|
||||
await userEvent.click(await canvas.findByRole("button"))
|
||||
expect(args.onPress).toHaveBeenCalledTimes(1)
|
||||
|
||||
expect(canvas.getByText("Text with icon")).toBeDefined()
|
||||
expect(canvas.getByTestId("MaterialIcon")).toBeDefined()
|
||||
expect(await canvas.findByText("Text with icon")).toBeDefined()
|
||||
expect(await canvas.findByTestId("MaterialIcon")).toBeDefined()
|
||||
},
|
||||
}
|
||||
|
||||
@@ -575,7 +575,7 @@ export const TextWithIconInverted: Story = {
|
||||
await userEvent.click(await canvas.findByRole("button"))
|
||||
expect(args.onPress).toHaveBeenCalledTimes(1)
|
||||
|
||||
expect(canvas.getByText("Text with icon")).toBeDefined()
|
||||
expect(canvas.getByTestId("MaterialIcon")).toBeDefined()
|
||||
expect(await canvas.findByText("Text with icon")).toBeDefined()
|
||||
expect(await canvas.findByTestId("MaterialIcon")).toBeDefined()
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user