diff options
author | 2022-04-22 18:09:32 -0700 | |
---|---|---|
committer | 2022-04-22 18:09:32 -0700 | |
commit | e9787a81b41c0b98ecf4658c584348cb839f7ca1 (patch) | |
tree | e743a750fc2fbb702ebd7943b7ce00d349ff1a15 /integration/bunjs-only-snippets/clipboard.test.js | |
parent | ab1d83fe8d888bbb63ada992b2628d1635630e03 (diff) | |
download | bun-e9787a81b41c0b98ecf4658c584348cb839f7ca1.tar.gz bun-e9787a81b41c0b98ecf4658c584348cb839f7ca1.tar.zst bun-e9787a81b41c0b98ecf4658c584348cb839f7ca1.zip |
There are dylib issues and I don't want to invest more time in this right nowjarred/clipboard-objc
Diffstat (limited to 'integration/bunjs-only-snippets/clipboard.test.js')
-rw-r--r-- | integration/bunjs-only-snippets/clipboard.test.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/integration/bunjs-only-snippets/clipboard.test.js b/integration/bunjs-only-snippets/clipboard.test.js new file mode 100644 index 000000000..c23f74210 --- /dev/null +++ b/integration/bunjs-only-snippets/clipboard.test.js @@ -0,0 +1,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"); +}); |