diff --git a/src/_tests_/categories.test.tsx b/src/_tests_/categories.test.tsx index 9bae9eb..b9a8974 100644 --- a/src/_tests_/categories.test.tsx +++ b/src/_tests_/categories.test.tsx @@ -1,11 +1,13 @@ import React from "react"; -import { test, expect } from "vitest"; +import { test, expect, describe } from "vitest"; import { render, screen } from "@testing-library/react"; import "@testing-library/jest-dom"; import Categories from "@/layout/header/categories"; -test("renders learn react link", () => { - render(); - const showText = screen.getByText(/software/i); - expect(showText).toBeInTheDocument(); +describe("Categories", () => { + test("renders learn react link", () => { + render(); + const showText = screen.getByText(/software/i); + expect(showText).toBeInTheDocument(); + }); });