Comparing version 1.0.1 to 1.0.2
@@ -5,2 +5,8 @@ # Changelog | ||
### [1.0.2](https://github.com/therealparmesh/snoop/compare/v1.0.1...v1.0.2) (2020-07-16) | ||
### Bug Fixes | ||
- types ([d36738d](https://github.com/therealparmesh/snoop/commit/d36738d9e73a6ad075fb02f44d3dfbf52092114a)) | ||
### [1.0.1](https://github.com/therealparmesh/snoop/compare/v1.0.0...v1.0.1) (2020-07-16) | ||
@@ -7,0 +13,0 @@ |
{ | ||
"name": "snoop", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "Easy breezy test spies fo sheezy.", | ||
@@ -5,0 +5,0 @@ "repository": "github:therealparmesh/snoop", |
@@ -21,8 +21,8 @@ export interface Fn { | ||
lastCall: Call<T>; | ||
calledBefore: (other: Snoop<T>) => boolean; | ||
calledAfter: (other: Snoop<T>) => boolean; | ||
calledImmediatelyBefore: (other: Snoop<T>) => boolean; | ||
calledImmediatelyAfter: (other: Snoop<T>) => boolean; | ||
calledBefore: (other: Snoop) => boolean; | ||
calledAfter: (other: Snoop) => boolean; | ||
calledImmediatelyBefore: (other: Snoop) => boolean; | ||
calledImmediatelyAfter: (other: Snoop) => boolean; | ||
} | ||
export function snoop<T extends Fn>(fn: T): Snoop<T>; |
13138