Skip to content

Commit ff12d2f

Browse files
committed
Fix matchers
1 parent cd874dc commit ff12d2f

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

ui/goose2/src/test/setup.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import React from "react";
2-
import "@testing-library/jest-dom/vitest";
3-
import { beforeEach, vi } from "vitest";
2+
import * as matchers from "@testing-library/jest-dom/matchers";
3+
import { beforeEach, expect, vi } from "vitest";
4+
5+
expect.extend(matchers);
46

57
import { DEFAULT_LOCALE, TRANSLATION_NAMESPACES, i18n } from "@/shared/i18n";
68

0 commit comments

Comments
 (0)