gemini-testing / testplane

Testplane (ex-hermione) browser test runner based on mocha and wdio
https://testplane.io
MIT License
687 stars 62 forks source link

feat: add ability to extend hermione.ctx typings #888

Closed KuznetsovRoman closed 4 months ago

KuznetsovRoman commented 4 months ago

Resolves #883

Usage example

declare module "hermione" { interface HermioneCtx { someVariable: string; } }

- Use `hermione.ctx` with extended typings:
```ts
hermione.ctx.someVariable // string