mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Chai allows passing a single argument to its increase,
decrease and change tests:
```ts
let y;
expect(() => { y += 1 }).to.increase(() => y);
```
The type definitions of PropertyChange, used by the three
tests mentionds, did not allow passing a single argument.
|
||
|---|---|---|
| .. | ||
| v2 | ||
| chai-tests.ts | ||
| index.d.ts | ||
| tsconfig.json | ||
| tslint.json | ||