Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Nov 14, 2024
1 parent 6fa5fd0 commit 78622dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions packages/mui-base/src/Meter/Indicator/MeterIndicator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ describe('<Meter.Indicator />', () => {
}));

describe('internal styles', () => {
it('sets positioning styles', async function test() {
it('sets positioning styles', async function test(t = {}) {
if (/jsdom/.test(window.navigator.userAgent)) {
this.skip();
// @ts-expect-error to support mocha and vitest
// eslint-disable-next-line @typescript-eslint/no-unused-expressions
this?.skip?.() || t?.skip();
}

const { getByTestId } = await render(
Expand Down

0 comments on commit 78622dc

Please sign in to comment.