Skip to content

Commit

Permalink
Rename some tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
lgarron committed May 17, 2024
1 parent 192f407 commit d846ec2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { test, expect, mock } from "bun:test";
const debugLogConsoleMock = createDebugLogConsoleMock();
const { documentMock, eventMock } = createDocumentMock();

test("writeText(…) execCommand fallback", async () => {
test("writeText(…) execCommand fallback in a modern browser", async () => {
const { writeText } = await import("./text");

expect(() => writeText("hello execCommand fallback")).not.toThrow();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const debugLogConsoleMock = createDebugLogConsoleMock();
const writeTextMock = createWriteTextMock();
const { documentMock } = createDocumentMock();

test("writeText(…) success", async () => {
test("writeText(…) success in a modern browser", async () => {
const { writeText } = await import("./text");

expect(() => writeText("hello modern browser")).not.toThrow();
Expand Down

0 comments on commit d846ec2

Please sign in to comment.