@shopify/jest-koa-mocks
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -1,4 +0,4 @@ | ||
import { RequestMethod } from 'node-mocks-http'; | ||
import Koa, { Context } from 'koa'; | ||
import { MockCookies } from '../create-mock-cookies'; | ||
import type { RequestMethod } from 'node-mocks-http'; | ||
import type { Context } from 'koa'; | ||
import type { MockCookies } from '../create-mock-cookies'; | ||
export interface Dictionary<T> { | ||
@@ -31,3 +31,3 @@ [key: string]: T; | ||
} | ||
export default function createContext<CustomProperties extends object, RequestBody = undefined>(options?: Options<CustomProperties, RequestBody>): Koa.Context; | ||
export default function createContext<CustomProperties extends object, RequestBody = undefined>(options?: Options<CustomProperties, RequestBody>): Context; | ||
//# sourceMappingURL=create-mock-context.d.ts.map |
{ | ||
"name": "@shopify/jest-koa-mocks", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "Utilities to easily stub Koa context and cookies", |
Sorry, the diff of this file is not supported yet
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
21363