File tree Expand file tree Collapse file tree
test/unit/controller/BootApplication Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const config: Linter.Config = {
1010 * Disallows usage of the `any` type.
1111 * @see {@link https://typescript-eslint.io/rules/no-explicit-any/ no-explicit-any }
1212 */
13- "@typescript-eslint/no-explicit-any" : "error " ,
13+ "@typescript-eslint/no-explicit-any" : "off " ,
1414
1515 /**
1616 * Disallows unused variables.
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ describe("BootApplication: Menu Handling", () => {
2828 const action = menu . testMethod ;
2929 expect ( typeof action ) . toBe ( "function" ) ;
3030
31- const result = action ( ) ;
31+ const result = action ( { } as any ) ;
3232 expect ( result ) . toBeInstanceOf ( Promise ) ;
3333 await result ;
3434
@@ -53,7 +53,7 @@ describe("BootApplication: Menu Handling", () => {
5353 const menu = app . onMenu ( ) ;
5454 const event = { source : "menu" } ;
5555
56- await menu . testMethod ( event ) ;
56+ await menu . testMethod ( event as any ) ;
5757
5858 expect ( capturedEvent ) . toBe ( event ) ;
5959 } ) ;
You can’t perform that action at this time.
0 commit comments