2021-08-30 13:15:52 +02:00
|
|
|
// 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 '@testing-library/user-event'
|
|
|
|
|
2022-07-08 15:23:34 +02:00
|
|
|
import { setupLocalization } from '../src/localization'
|
|
|
|
|
2021-08-30 13:15:52 +02:00
|
|
|
// setup localization to make it easier to select elements by text
|
2022-07-08 15:23:34 +02:00
|
|
|
setupLocalization()
|