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" global variable #896

Closed DudaGod closed 4 months ago

DudaGod commented 4 months ago

Usage example

declare module "hermione" { interface GlobalHelper { also: { in: (args: string | string[]) => void; }; } }

- Use `hermione.also.in` with extended typings:
```ts
hermione.also.in('foo');