@oclif/test
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -0,1 +1,9 @@ | ||
<a name="1.0.3"></a> | ||
## [1.0.3](https://github.com/oclif/test/compare/ad5d869d3ca7afb926f0fbbefc8d92b6c4f1a7ba...v1.0.3) (2018-04-06) | ||
### Bug Fixes | ||
* fixed exit ([97986a4](https://github.com/oclif/test/commit/97986a4)) | ||
<a name="1.0.2"></a> | ||
@@ -2,0 +10,0 @@ ## [1.0.2](https://github.com/oclif/test/compare/65323ebfc55d4c13fb9e4bef2b961a4bc8065a4b...v1.0.2) (2018-04-06) |
declare const _default: (code?: number) => { | ||
run(): never; | ||
catch(ctx: { | ||
error: Error; | ||
}): void; | ||
}; | ||
export default _default; |
@@ -13,4 +13,7 @@ "use strict"; | ||
chai_1.expect(process.exitCode).to.equal(code); | ||
throw new Error(`Expected hook to exit with code ${code} but it ran without exiting`); | ||
} | ||
throw new Error(`Expected to exit with code ${code} but it ran without exiting`); | ||
}, | ||
catch(ctx) { | ||
chai_1.expect(ctx.error.message).to.equal(`EEXIT: ${code}`); | ||
}, | ||
}); |
@@ -110,3 +110,5 @@ import * as Config from '@oclif/config'; | ||
exit: { | ||
output: {}; | ||
output: { | ||
error: Error; | ||
}; | ||
a1: number; | ||
@@ -113,0 +115,0 @@ a2: {}; |
{ | ||
"name": "@oclif/test", | ||
"description": "test helpers for oclif components", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -11,3 +11,3 @@ "bugs": "https://github.com/oclif/test/issues", | ||
"devDependencies": { | ||
"@oclif/command": "^1.4.6", | ||
"@oclif/command": "^1.4.7", | ||
"@oclif/config": "^1.3.62", | ||
@@ -14,0 +14,0 @@ "@oclif/errors": "^1.0.3", |
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
25242
271