Skip to content

Commit

Permalink
skip flaky unit tests in JSDOM
Browse files Browse the repository at this point in the history
  • Loading branch information
cherniavskii committed May 15, 2023
1 parent 04e1ba2 commit 4abfa7c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@ describe('<DataGridPremium /> - Clipboard', () => {
});

describe('paste', () => {
before(function beforeHook() {
if (/jsdom/.test(window.navigator.userAgent)) {
// These test are flaky in JSDOM
this.skip();
}
});

function paste(cell: HTMLElement, pasteText: string) {
const pasteEvent = new Event('paste');

Expand Down

0 comments on commit 4abfa7c

Please sign in to comment.