1- /* eslint-disable @typescript-eslint/ban-ts-comment, @typescript-eslint/no-namespace, no-use-before-define, no-restricted-syntax, no-await-in-loop */
1+ /* eslint-disable @typescript-eslint/ban-ts-comment, @typescript-eslint/no-namespace, no-use-before-define, no-restricted-syntax, no-await-in-loop, @typescript-eslint/no-unused-vars */
22import {
33 checkIsPuppeteerInstance ,
44 checkIsElementHandle ,
@@ -100,7 +100,7 @@ const jestExpect = global.expect as JestExpect;
100100
101101const wrapMatcher = < TPage extends PuppeteerInstance > (
102102 matcher : Matcher < TPage > ,
103- instance : PuppeteerInstance
103+ instance : PuppeteerInstance ,
104104) => {
105105 return async function throwingMatcher ( ...args : any [ ] ) {
106106 jestExpect . getState ( ) . assertionCalls += 1 ;
@@ -116,7 +116,7 @@ const wrapMatcher = <TPage extends PuppeteerInstance>(
116116
117117const createExpect = < T extends PuppeteerInstance > (
118118 instance : T ,
119- matchers : MatcherSet < T >
119+ matchers : MatcherSet < T > ,
120120) => {
121121 const expectation = {
122122 not : { } as Record < string , any > ,
@@ -134,7 +134,7 @@ const createExpect = <T extends PuppeteerInstance>(
134134} ;
135135
136136const expectPuppeteerInstance = < TInstance extends PuppeteerInstance > (
137- actual : TInstance
137+ actual : TInstance ,
138138) : PuppeteerMatchers => {
139139 if ( checkIsPage ( actual ) ) {
140140 return createExpect ( actual , pageMatchers ) as PuppeteerMatchers ;
0 commit comments