Skip to content

Commit

Permalink
Use test skip
Browse files Browse the repository at this point in the history
  • Loading branch information
atomiks committed Apr 10, 2024
1 parent 688068f commit c618708
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/mui-base/src/NumberField/NumberFieldInput.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,10 @@ describe('<NumberField.Input />', () => {
expect(input).to.have.value('4');
});

it('should set selection to the logical end of the input on first focus', async () => {
it('should set selection to the logical end of the input on first focus', async function test() {
if (/jsdom/.test(window.navigator.userAgent)) {
// JSDOM does not support selectionStart/selectionEnd
return;
this.skip();
}

render(
Expand Down

0 comments on commit c618708

Please sign in to comment.