Comparing version 1.0.1 to 1.0.2
@@ -1,1 +0,1 @@ | ||
export function test(name: string, assertion?: Function): Promise<void>; | ||
export function test(name: string, assertion?: Function | Promise<void>): Promise<void>; |
/** | ||
* test function for `t` | ||
* test function for `bft` | ||
* | ||
* @param {string} name - name of test | ||
* @param {function} [assertion] - test code | ||
* @param {function|Promise<void>} [assertion] - test code | ||
*/ | ||
@@ -7,0 +7,0 @@ module.exports.test = async (name, assertion = null) => { |
{ | ||
"name": "bft", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "bloat-free-testrunner", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"engines": { | ||
@@ -7,0 +8,0 @@ "node": ">=10.0.0" |
3494