@hirez_io/auto-spies-core
Advanced tools
Comparing version 1.1.2 to 1.1.3
@@ -6,2 +6,10 @@ # Change Log | ||
## [1.1.3](https://github.com/hirezio/auto-spies/compare/@hirez_io/auto-spies-core@1.1.2...@hirez_io/auto-spies-core@1.1.3) (2020-10-01) | ||
**Note:** Version bump only for package @hirez_io/auto-spies-core | ||
## [1.1.2](https://github.com/hirezio/auto-spies/compare/@hirez_io/auto-spies-core@1.1.1...@hirez_io/auto-spies-core@1.1.2) (2020-09-16) | ||
@@ -8,0 +16,0 @@ |
{ | ||
"name": "@hirez_io/auto-spies-core", | ||
"version": "1.1.2", | ||
"version": "1.1.3", | ||
"publishConfig": { | ||
@@ -39,3 +39,2 @@ "access": "public" | ||
"@hirez_io/jest-given": "1.0.3", | ||
"@hirez_io/observer-spy": "^1.3.0", | ||
"@types/deep-equal": "1.0.1", | ||
@@ -59,3 +58,3 @@ "@types/jest": "26.0.13", | ||
}, | ||
"gitHead": "125357078ed14ceaf4bccfae01171ec26e10f2a8" | ||
"gitHead": "211e6aa2a00d0d2d5f299a0701d947b85d1acb17" | ||
} |
@@ -20,3 +20,3 @@ import { errorHandler } from './error-handler'; | ||
describe('Given actual args are empty and do not match THEN throw the empty error', () => { | ||
describe('Given actual args are empty and do not match', () => { | ||
Given(() => { | ||
@@ -26,3 +26,3 @@ fakeActualArgs = []; | ||
Then(() => { | ||
Then('throw the empty error', () => { | ||
expect(actualError).toContain('But the function was called without any arguments'); | ||
@@ -32,3 +32,3 @@ }); | ||
describe('Given actual args do not match THEN throw error with arguments', () => { | ||
describe('Given actual args do not match', () => { | ||
Given(() => { | ||
@@ -38,3 +38,3 @@ fakeActualArgs = [1, 2]; | ||
Then(() => { | ||
Then('throw error with arguments', () => { | ||
expect(actualError).toContain('But the actual arguments were: 1,2'); | ||
@@ -44,3 +44,3 @@ }); | ||
describe('Given actual args of type object do not match THEN throw error with arguments', () => { | ||
describe('Given actual args of type object do not match', () => { | ||
Given(() => { | ||
@@ -50,3 +50,3 @@ fakeActualArgs = [{ yep: 1 }]; | ||
Then(() => { | ||
Then('throw error with arguments', () => { | ||
expect(actualError).toContain('But the actual arguments were: {"yep":1}'); | ||
@@ -53,0 +53,0 @@ }); |
126840
11