Skip to content

Commit

Permalink
Converted inferno-utils tests to tsx github#1632
Browse files Browse the repository at this point in the history
  • Loading branch information
Havunen committed Mar 16, 2024
1 parent 192a650 commit 13f8d24
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -31,7 +31,7 @@ describe('Utils', () => {
describe('triggerEvent', () => {
let expectedEventType = '';
const element = {
dispatchEvent(event) {},
dispatchEvent() {},
};
let spyDispatch;
let spyCreateMouseEvent;
Expand All @@ -46,7 +46,7 @@ describe('Utils', () => {
expect(ev).toBe(expectedEventType);

spyEvent = {
initEvent: (eventType, canBubble, cancelable) => {
initEvent: (eventType, _canBubble, cancelable) => {
expect(eventType).toBe(triggerName);
// expect(canBubble).toBe(true);
expect(cancelable).toBe(true);
Expand Down

0 comments on commit 13f8d24

Please sign in to comment.