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

@@ -5,10 +5,9 @@ SPDX-License-Identifier: AGPL-3.0-only
Please see LICENSE in the repository root for full details.
*/
import { expect, test } from "vitest";
import { expect, test, afterEach } from "vitest";
import { render } from "@testing-library/react";
import { type ReactNode, useState } from "react";
import { afterEach } from "node:test";
import userEvent from "@testing-library/user-event";
import { Modal } from "./Modal";