Skip to content

Commit

Permalink
test: downgrade jsdom
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3m01 committed Feb 28, 2024
1 parent 837cd86 commit a1441da
Show file tree
Hide file tree
Showing 3 changed files with 147 additions and 90 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"babel-preset-solid": "1.7.7",
"commitizen": "4.3.0",
"inquirer": "8.2.5",
"jsdom": "^24.0.0",
"jsdom": "19.0.0",
"prettier": "4.0.0-alpha.8",
"prettier-plugin-tailwindcss": "0.5.3",
"rollup": "3.28.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/tabs/tabs.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import * as Tabs from ".";
describe("Tabs", () => {
// Make userEvent work with jest fakeTimers
// See https://github.com/testing-library/user-event/issues/833#issuecomment-1013797822
const user = userEvent.setup({ delay: null, advanceTimers: vi.advanceTimersByTime});
const user = userEvent.setup({ delay: null});

const onValueChangeSpy = vi.fn();

Expand Down
Loading

0 comments on commit a1441da

Please sign in to comment.