Comparing version 0.5.0 to 0.6.0
interface FetchAssertions<R> { | ||
toHaveFetched(): R; | ||
toFetch(): R; | ||
toHaveFetched<T>(data?: T): R; | ||
toFetch<T>(data?: T): R; | ||
toHaveFetchedNthTime<T>(times: number, data: T): R; | ||
toFetchNthTime<T>(times: number, data: T): R; | ||
toHaveFetchedTimes(times: number): R; | ||
toFetchTimes(times: number): R; | ||
// toHaveFetchedWithHeaders( | ||
// headers: Record<string, string | number | undefined> | ||
// ): R; | ||
// toFetchWithHeaders(headers: Record<string, string | number | undefined>): R; | ||
toHaveFetchedWithBody(body: any): R; | ||
@@ -14,0 +12,0 @@ toFetchWithBody(body: any): R; |
{ | ||
"name": "vi-fetch", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Easiest way to mock fetch", | ||
@@ -5,0 +5,0 @@ "main": "./dist/index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38402
1207