Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions MediaOverlay/tests/MediaOverlay-specs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* global HTMLMediaElement */

import '@testing-library/jest-dom';
import {render, screen} from '@testing-library/react';

Expand Down
2 changes: 0 additions & 2 deletions TooltipDecorator/useTooltip.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* global MutationObserver ResizeObserver */

import {forward} from '@enact/core/handle';
import {Job} from '@enact/core/util';
import {useI18nContext} from '@enact/i18n/I18nDecorator';
Expand Down
2 changes: 0 additions & 2 deletions VideoPlayer/tests/Video-specs.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
/* global HTMLMediaElement */

import '@testing-library/jest-dom';
import {render, screen} from '@testing-library/react';

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions tests/ui/specs/Scroller/Scroller-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ async function disabledAttribute () {

async function enableEditModeLongPress () {
await browser.execute(() => {
// eslint-disable-next-line no-undef
const event = new KeyboardEvent('keydown', {code: 'Enter', key: 'Enter', keyCode: 13, repeat: true});
const element = document.activeElement;
element.dispatchEvent(event);
});
await browser.pause(500);
await browser.execute(() => {
// eslint-disable-next-line no-undef
const event = new KeyboardEvent('keyup', {code: 'Enter', key: 'Enter', keyCode: 13});
const element = document.activeElement;
element.dispatchEvent(event);
Expand Down