chore: starter template

This commit is contained in:
e2e
2026-07-10 22:25:02 +02:00
commit 33da14f99e
157 changed files with 6462 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { setWorldConstructor } from '@cucumber/cucumber'
import { BrowserWorld } from '@pikku/cucumber/browser'
/**
* AppWorld — the app's cucumber world, built on @pikku/cucumber/browser.
*
* The package owns the browser lifecycle, the actor grammar ("the user",
* "the admin", they) and the generic step vocabulary. Extend this class for
* app-specific needs: override createClients() to expose the generated
* PikkuRPC/PikkuFetch on actors, override resetAppData() to call the app's
* reset RPC, or add helpers for per-domain *.steps.ts files.
*/
export class AppWorld extends BrowserWorld {}
setWorldConstructor(AppWorld)