We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f484801 commit 0885b18Copy full SHA for 0885b18
tests/index.test.tsx
@@ -10,8 +10,8 @@ test('button', () => {
10
expect(buttonElement).toBeInTheDocument()
11
expect(buttonElement).toHaveTextContent('my button: type primary')
12
expect(buttonElement.outerHTML).toMatchInlineSnapshot(
13
- `"<button class="my-button">my button: type primary</button>"`,
+ `"<button class="text-red-500">my button: type primary</button>"`,
14
)
15
16
- expect(buttonElement).toHaveClass('my-button')
+ expect(buttonElement).toHaveClass('text-red-500')
17
})
0 commit comments