Packages
@onmax/better-auth-nimiq-pay-e2e
Shared Vitest-first utilities for direct and QR auth scenarios.
@onmax/better-auth-nimiq-pay-e2e
This package keeps local and bridge-backed tests reusable across apps.
Exports
@onmax/better-auth-nimiq-pay-e2e@onmax/better-auth-nimiq-pay-e2e/providers@onmax/better-auth-nimiq-pay-e2e/vitest
Use cases
- Run local direct sign-in without a real wallet bridge
- Run local QR approval with separate desktop and phone fetchers
- Reuse one profile model across local, smoke, and bridge runs
- Inject stub or real providers into browser-based tests
Example
scenario.ts
import { runSignInScenario, runQrSignInScenario } from '@onmax/better-auth-nimiq-pay-e2e'
await runSignInScenario()
await runQrSignInScenario()