1
Fork 0
photoview/ui/testing/setupTests.ts

12 lines
422 B
TypeScript
Raw Normal View History

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