Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
[#436] fixed test (wtf) jestjs/jest#9983 (comment)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Pozzi committed Apr 2, 2021
1 parent 302caa4 commit b31e493
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/app/src/Components/Navigation/Navigation.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@ import React from 'react';
import { render } from '@testing-library/react';
import Navigation from './Navigation';
import { MemoryRouter } from 'react-router-dom';
import { TextEncoder, TextDecoder } from 'util'
global.TextEncoder = TextEncoder
global.TextDecoder = TextDecoder

it('should render Home link', () => {
const { getByText } = render(
Expand Down

0 comments on commit b31e493

Please sign in to comment.