Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Niehoff <[email protected]>
  • Loading branch information
ChristophNiehoff committed Aug 11, 2023
1 parent 07f5776 commit a3ecd1e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/client/components/board/board.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ const G = {
const ctx = {
actionPlayers: [0, 1, 2],
};
Board.prototype.componentDidMount = jest.fn();
// Suppress REST calls during test
Board.prototype.apiGetRequest = jest.fn();

describe('Board', () => {
it('renders without crashing', async () => {
Expand Down

0 comments on commit a3ecd1e

Please sign in to comment.