Comparing version 2.1.6 to 2.1.7
@@ -1,8 +0,8 @@ | ||
type TestFunctionArguments = { | ||
stage?: (name: string) => void, | ||
test?: (condition: boolean, description?: string) => boolean, | ||
same?: (a: any, b: any, description?: string) => boolean, | ||
different?: (a: any, b: any, description?: string) => boolean, | ||
export type Fartest = { | ||
stage?: (name: string) => void | ||
test?: (condition: boolean, description?: string) => boolean | ||
same?: (a: any, b: any, description?: string) => boolean | ||
different?: (a: any, b: any, description?: string) => boolean | ||
} | ||
export default function start(testFunction: (arg: TestFunctionArguments) => void): number; | ||
export default function start(name: string, testFunction: (arg: TestFunctionArguments) => void): number; | ||
export default function start(testFunction: (_: Fartest) => void): number | ||
export default function start(name: string, testFunction: (_: Fartest) => void): number |
{ | ||
"name": "fartest", | ||
"version": "2.1.6", | ||
"version": "2.1.7", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "author": { |
14101