rsnext/examples/with-redux-toolkit-typescript/setupTests.ts
Jaime Leonardo Suncin Cruz f4e610d192
Simplify with redux toolkit typescript (#24161)
Remove clock and notes features to be consistent with `with-redux-toolkit` example, add unit test with Jest

## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.

## Documentation / Examples

- [x] Make sure the linting passes
2021-04-20 03:09:49 +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 })