1import { describe, it, expect, vi } from "vitest";
2import { alertImpl } from "../src/Yoga/React/Native/Alert.js";
4describe("Alert FFI", () => {
5 it("alertImpl calls without throwing", () => {
6 expect(() => alertImpl("Title", "Message", [])).not.toThrow();
9 it("alertImpl passes buttons through", () => {
10 const onPress = () => {};
11 expect(() => alertImpl("T", "M", [{ text: "OK", onPress, style: "default" }])).not.toThrow();
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