rsnext/examples/with-redux/setupTests.ts
Lee Robinson dd4215b81e
Update Redux example to use Toolkit + update dependencies. (#29104)
After talking with markerikson, I've made some updates to the Redux examples:

- Updated the `with-redux` example to use the Redux Toolkit + TypeScript example
- Updated dependencies of `with-redux` to work with latest testing setup
- Removed `with-redux-toolkit` in favor of `with-redux`
- Removed `with-redux-toolkit-typescript` in favor of `with-redux`
- Removed `with-redux-code-splitting` in favor of `with-redux`
2021-09-15 15:34:31 +00:00

4 lines
153 B
TypeScript

import '@testing-library/jest-dom'
import { loadEnvConfig } from '@next/env'
loadEnvConfig(__dirname, true, { info: () => null, error: console.error })