We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8f9b16 commit 630906cCopy full SHA for 630906c
tests/__tests__/validate-plugin.js
@@ -23,6 +23,6 @@ test('can validate using plugin', async () => {
23
// After "touching" the input (focusing and blurring), validation error
24
// should appear.
25
expect(getByTestId('username-errors')).toHaveTextContent(
26
- 'The username field is required.'
+ /the username field is required/i
27
)
28
})
0 commit comments