Magic Apps

Documentation

macmagic.app

Testing

Unit tests

TypeScript tests run with Vitest; the Swift helpers and the RPC transport run with SwiftPM (swift test).

pnpm test
pnpm typecheck
(cd packages/swift-rpc && swift test)
(cd apps/magical/swift && swift test)
(cd apps/magimail/swift && swift test)

Pre-commit hooks

Husky and lint-staged run on every git commit: