Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/localvoid/karma-mocha-hooks

Karma plugin that exposes hooks from mocha framework
https://github.com/localvoid/karma-mocha-hooks

karma mocha

Last synced: about 1 month ago
JSON representation

Karma plugin that exposes hooks from mocha framework

Awesome Lists containing this project

README

        

# Karma plugin that exposes hooks from mocha framework

```ts
interface TestHooks {
before: () => void;
after: () => void;
}

declare global {
interface Window {
__test_hooks__?: TestHooks;
}
}
```