mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:11:48 +00:00
Webpack bundles compile but need further testing. Jest + mocha tests compile but are marked as `manual` until further work is done to get them passing. The four jest tests are green and enabled now, though. ## Test plan `bazel build //client/...` and `bazel test //client/...`
11 lines
329 B
TypeScript
11 lines
329 B
TypeScript
import { cleanup } from '@testing-library/react'
|
|
|
|
/**
|
|
* Prevents an issue similar to the one reported here:
|
|
* https://github.com/vitest-dev/vitest/issues/1430
|
|
*
|
|
* Normally `cleanup` should be called automatically after each test.
|
|
* https://testing-library.com/docs/svelte-testing-library/api/#cleanup
|
|
*/
|
|
afterEach(cleanup)
|