Skip to content

Commit

Permalink
Update testing-context.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
gibberwockie authored and anita-stanisz-sonarsource committed Feb 2, 2024
1 parent 7e5e932 commit 3c936f2
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/jest/testing-context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,6 @@ export interface ComponentContextShape {
value: string | undefined
onClick?: (value: string) => void
}

export function mapToMessages() {
var blah = 'test';
console.log(blah);
console.log(blah);
console.log(blah);
console.log(blah);
console.log(blah);
}

export const ComponentContext = createContext<ComponentContextShape>({ value: 'none', onClick: (_: string) => {} })

Expand Down

0 comments on commit 3c936f2

Please sign in to comment.