diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS new file mode 100644 index 0000000..d5fb9d1 --- /dev/null +++ b/.github/CODEOWNERS @@ -0,0 +1,2 @@ +# Default owners for the whole repo (will be updated if we grow, but for now this is fine) +* @covenengineering/developers diff --git a/@simulcast/preact/tests/useBroadcast.test.tsx b/@simulcast/preact/tests/useBroadcast.test.tsx index 536efc9..ec8c5e4 100644 --- a/@simulcast/preact/tests/useBroadcast.test.tsx +++ b/@simulcast/preact/tests/useBroadcast.test.tsx @@ -2,9 +2,9 @@ import { broadcast, type EventRegistry } from "@simulcast/core"; import { useBroadcast } from "@simulcast/preact"; import { assertStrictEquals } from "@std/assert"; -import { mockDOM } from "@test/mockDOM.ts"; -import { timeout } from "@test/timeout.ts"; -import { type ComponentProps, render, type TargetedMouseEvent } from "preact"; +import { cleanup, render, screen } from "@testing-library/preact"; +import { userEvent } from "@testing-library/user-event"; +import type { ComponentProps, TargetedMouseEvent } from "preact"; import { useState } from "preact/hooks"; const CountComponent = (properties: ComponentProps<"button">) => { @@ -12,8 +12,8 @@ const CountComponent = (properties: ComponentProps<"button">) => { return (