fancy-test
Advanced tools
Comparing version 0.5.4 to 0.5.5
@@ -0,1 +1,10 @@ | ||
<a name="0.5.5"></a> | ||
## [0.5.5](https://github.com/jdxcode/fancy-test/compare/72c35888193e0240962162fe2b2d275647ee69fc...v0.5.5) (2018-01-27) | ||
### Bug Fixes | ||
* allow resetting stdmock ([ceabe22](https://github.com/jdxcode/fancy-test/commit/ceabe22)) | ||
* throw error if no chai ([84b4c18](https://github.com/jdxcode/fancy-test/commit/84b4c18)) | ||
<a name="0.5.4"></a> | ||
@@ -2,0 +11,0 @@ ## [0.5.4](https://github.com/jdxcode/fancy-test/compare/48ee57cfb2b3d366dd2efb8e32ea538e44762ff0...v0.5.4) (2018-01-27) |
@@ -12,6 +12,3 @@ "use strict"; | ||
const chai = tryRequire('chai'); | ||
const chaiAsPromised = tryRequire('chai-as-promised'); | ||
if (chai && chaiAsPromised) | ||
chai.use(chaiAsPromised); | ||
exports.expect = chai && chai.expect; | ||
exports.expect = (chai && chai.expect) || (() => { throw new Error('install chai'); }); | ||
//# sourceMappingURL=chai.js.map |
@@ -9,2 +9,4 @@ "use strict"; | ||
mock[std].stripColor = opts.stripColor !== false; | ||
if (ctx[std] !== undefined) | ||
return; | ||
Object.defineProperty(ctx, std, { | ||
@@ -11,0 +13,0 @@ get: () => mock[std].output |
{ | ||
"name": "fancy-test", | ||
"description": "extendable utilities for testing", | ||
"version": "0.5.4", | ||
"version": "0.5.5", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -12,28 +12,13 @@ "bugs": "https://github.com/jdxcode/fancy-test/issues", | ||
"devDependencies": { | ||
"@dxcli/dev-nyc-config": "^0.0.3", | ||
"@dxcli/dev-semantic-release": "^0.1.0", | ||
"@dxcli/dev-tslint": "^0.0.17", | ||
"@types/chai": "^4.1.2", | ||
"@types/chai-as-promised": "^7.1.0", | ||
"@types/lodash": "^4.14.97", | ||
"@types/mocha": "^2.2.47", | ||
"@types/nock": "^9.1.2", | ||
"@types/node": "^9.4.0", | ||
"@dxcli/dev": "^2.0.4", | ||
"@types/sinon": "^4.1.3", | ||
"chai": "^4.1.2", | ||
"chai-as-promised": "^7.1.1", | ||
"chalk": "^2.3.0", | ||
"eslint": "^4.16.0", | ||
"eslint-config-dxcli": "^1.1.4", | ||
"http-call": "^5.0.2", | ||
"husky": "^0.14.3", | ||
"mocha": "^5.0.0", | ||
"mocha-junit-reporter": "^1.17.0", | ||
"nock": "^9.1.6", | ||
"nps": "^5.7.1", | ||
"nps-utils": "^1.5.0", | ||
"nyc": "^11.4.1", | ||
"sinon": "^4.2.2", | ||
"ts-node": "^4.1.0", | ||
"typescript": "^2.6.2" | ||
"sinon": "^4.2.2" | ||
}, | ||
@@ -55,7 +40,7 @@ "engines": { | ||
"commitmsg": "dxcli-dev-commitmsg", | ||
"precommit": "nps lint", | ||
"prepare": "nps build", | ||
"test": "nps test" | ||
"precommit": "nps lint -l warn", | ||
"prepare": "rm -rf lib && tsc", | ||
"test": "nps test -l warn" | ||
}, | ||
"types": "lib/index.d.ts" | ||
} |
Sorry, the diff of this file is not supported yet
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
11
43029
531