1import { describe, it, expect } from "vitest";
2import { shareImpl } from "../src/Yoga/React/Native/Share.js";
4describe("Share FFI", () => {
5 it("shareImpl returns a cancellable aff that resolves", async () => {
7 shareImpl({ message: "Hello", title: "Title", url: "" })(
8 (err) => { throw err; },
9 (val) => { result = val; }
11 await new Promise((r) => setTimeout(r, 10));
12 expect(result).toHaveProperty("action");
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list