Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Feb 28, 2025
1 parent e9b2859 commit 178d0d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react/src/field/root/FieldRoot.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ describe('<Field.Root />', () => {
expect(button).to.have.attribute('aria-invalid', 'true');
});

it('supports NumberField', async () => {
it.skipIf(isJSDOM)('supports NumberField', async () => {
await render(
<Field.Root validate={() => 'error'}>
<NumberField.Root>
Expand Down Expand Up @@ -618,7 +618,7 @@ describe('<Field.Root />', () => {
expect(button).to.have.attribute('aria-invalid', 'true');
});

it('validates NumberField on blur', async () => {
it.skipIf(isJSDOM)('validates NumberField on blur', async () => {
await render(
<Field.Root
validationMode="onBlur"
Expand Down

0 comments on commit 178d0d1

Please sign in to comment.