Skip to content

Commit

Permalink
lint(react-conformance): mitigate deprecation warning exposed by late…
Browse files Browse the repository at this point in the history
…st jest types
  • Loading branch information
Hotell committed Sep 13, 2024
1 parent 8e4584a commit f68fa2e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@ describe('getCallbackArguments', () => {
'./Accordion.types.ts': 'export interface AccordionProps { onToggle: (e: null) => void; }',
});

expect(() => getCallbackArguments(program, 'Button.types.ts', 'AccordionProps', 'onToggle')).toThrowError(
expect(() => getCallbackArguments(program, 'Button.types.ts', 'AccordionProps', 'onToggle')).toThrow(
[
'A file (Button.types.ts) was not found in TS program, this looks like an invocation problem,',
'check your params',
Expand Down

0 comments on commit f68fa2e

Please sign in to comment.