aboutsummaryrefslogtreecommitdiff
path: root/integration/bunjs-only-snippets/clipboard.test.js
blob: c23f7421083d17bddffde1bda4af87c643053a55 (plain) (blame)
1
2
3
4
5
6
7
import { it } from "bun:test";

it("read", async () => {
  // This doesn't run on Linux but it shouldn't throw at least
  const text = await Bun.Clipboard.readText();
  expect(text).toBe("hello");
});