@totalsoft/rocket-ui
Version:
A set of reusable and composable React components built on top of Material UI core for developing fast and friendly web applications interfaces.
12 lines (9 loc) • 393 B
text/typescript
// Copyright (c) TotalSoft.
// This source code is licensed under the MIT license.
// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
// learn more: https://github.com/testing-library/jest-dom
import '@testing-library/jest-dom'
import { TextEncoder } from 'util'
global.TextEncoder = TextEncoder