Files
drip/test/jest-setup.js
T
2022-09-20 12:37:13 +02:00

9 lines
230 B
JavaScript

// Import Jest Native matchers
import '@testing-library/jest-native/extend-expect'
jest.mock('react-i18next', () => ({
useTranslation: () => ({
t: (str, options) => str + (options ? JSON.stringify(options) : ''),
}),
}))