Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fancy-test

Package Overview
Dependencies
Maintainers
1
Versions
116
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fancy-test - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

8

CHANGELOG.md

@@ -0,1 +1,9 @@

<a name="0.5.1"></a>
## [0.5.1](https://github.com/jdxcode/fancy-test/compare/efd646be6d8d7449acbe47472c4f6f6323ba7737...v0.5.1) (2018-01-26)
### Bug Fixes
* fixed done callbacks ([5ef8df8](https://github.com/jdxcode/fancy-test/commit/5ef8df8))
<a name="0.5.0"></a>

@@ -2,0 +10,0 @@ # [0.5.0](https://github.com/jdxcode/fancy-test/compare/75264f1f71a8cbd65abfc00466f37bfa90da299f...v0.5.0) (2018-01-26)

5

lib/base.js

@@ -61,3 +61,6 @@ "use strict";

}
return context.test(arg1, (cb && cb.length === 2) ? done => run(done) : () => run());
function runWithDone(done) {
run(done).catch(done);
}
return context.test(arg1, (cb && cb.length === 2) ? runWithDone : () => run());
};

@@ -64,0 +67,0 @@ return {

4

lib/types.d.ts

@@ -31,4 +31,4 @@ /// <reference types="mocha" />

export interface It<I> {
(expectation: string, cb?: (context: I, done?: MochaDone) => any): void;
(cb?: (context: I, done?: MochaDone) => any): void;
(expectation: string, cb?: (context: I, done: MochaDone) => any): void;
(cb?: (context: I, done: MochaDone) => any): void;
}

@@ -35,0 +35,0 @@ export declare type Base<I extends Context, T extends Plugins> = {

{
"name": "fancy-test",
"description": "extendable utilities for testing",
"version": "0.5.0",
"version": "0.5.1",
"author": "Jeff Dickey @jdxcode",

@@ -6,0 +6,0 @@ "bugs": "https://github.com/jdxcode/fancy-test/issues",

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc