Use afterEach from vitest for consistency (#2908)

This slipped through the PR review. Whilst not harmful, for consistency we use it from vitest.
This commit is contained in:
Hugh Nimmo-Smith
2024-12-17 10:17:37 +00:00
committed by GitHub
parent 79c40f198c
commit 2b6acb9cce
5 changed files with 5 additions and 8 deletions

View File

@@ -6,10 +6,9 @@ Please see LICENSE in the repository root for full details.
*/
import { render } from "@testing-library/react";
import { expect, test } from "vitest";
import { expect, test, afterEach } from "vitest";
import { TooltipProvider } from "@vector-im/compound-web";
import { act, type ReactNode } from "react";
import { afterEach } from "node:test";
import {
MockRoom,