Comparing version 2.6.1-canary.228177f to 2.6.1-canary.6e8a583
@@ -10,2 +10,2 @@ "use strict"; | ||
}; | ||
exports.VERSION = '2.6.0'; | ||
exports.VERSION = '2.6.1-canary.6e8a583'; |
import type { DescribeOptions } from '../../@types/describe.js'; | ||
import { skip } from './modifiers.js'; | ||
declare function describeCore(title: string, cb: () => Promise<unknown>): Promise<void>; | ||
@@ -9,4 +10,4 @@ declare function describeCore(title: string, cb: () => unknown): void; | ||
todo: (message: string, _cb?: () => unknown) => boolean; | ||
skip: (message: string, _cb?: () => unknown) => boolean; | ||
skip: typeof skip; | ||
}; | ||
export {}; |
@@ -0,1 +1,2 @@ | ||
import { skip } from '../modifiers.js'; | ||
declare function itCore(message: string, cb: () => Promise<unknown>): Promise<void>; | ||
@@ -7,4 +8,4 @@ declare function itCore(message: string, cb: () => unknown): void; | ||
todo: (message: string, _cb?: () => unknown) => boolean; | ||
skip: (message: string, _cb?: () => unknown) => boolean; | ||
skip: typeof skip; | ||
}; | ||
export {}; |
export declare const todo: (message: string, _cb?: () => unknown) => boolean; | ||
export declare const skip: (message: string, _cb?: () => unknown) => boolean; | ||
export declare function skip(message: string, _cb: () => unknown): void; | ||
export declare function skip(_cb: () => unknown): void; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.skip = exports.todo = void 0; | ||
exports.todo = void 0; | ||
exports.skip = skip; | ||
const write_js_1 = require("../../services/write.js"); | ||
@@ -9,3 +10,5 @@ const indentation_js_1 = require("../../configs/indentation.js"); | ||
exports.todo = todo; | ||
const skip = (message, _cb) => write_js_1.Write.log(`${indentation_js_1.indentation.hasDescribe ? ' ' : ''}${(0, format_js_1.format)(`◯ ${message}`).info().bold()}`); | ||
exports.skip = skip; | ||
function skip(messageOrCb, _cb) { | ||
const message = (typeof messageOrCb === 'string' && messageOrCb) || 'Skipping'; | ||
write_js_1.Write.log(`${indentation_js_1.indentation.hasDescribe ? ' ' : ''}${(0, format_js_1.format)(`◯ ${message}`).info().bold()}`); | ||
} |
@@ -8,3 +8,3 @@ export declare const test: { | ||
todo: (message: string, _cb?: () => unknown) => boolean; | ||
skip: (message: string, _cb?: () => unknown) => boolean; | ||
skip: typeof import("./modifiers.js").skip; | ||
}; |
{ | ||
"name": "poku", | ||
"version": "2.6.1-canary.228177f", | ||
"version": "2.6.1-canary.6e8a583", | ||
"description": "🐷 Poku makes testing easy for Node.js, Bun, Deno, and you at the same time.", | ||
@@ -5,0 +5,0 @@ "main": "./lib/modules/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
163837
3396