Skip to content

Commit

Permalink
Expect the improved sinon stub instance output in error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Feb 2, 2017
1 parent e9ba2a3 commit 2759bfe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unexpected-sinon.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -609,7 +609,7 @@ describe('unexpected-sinon', function () {
stubInstance1.foo(123);
});
}, 'to error with',
"expected [ MyClass({ foo: foo, bar: bar }), MyClass({ foo: foo, bar: bar }) ] to have no calls satisfying foo( 123 );\n" +
"expected [ MyClass({ foo, bar }), MyClass({ foo, bar }) ] to have no calls satisfying foo( 123 );\n" +
"\n" +
"foo( 123 ); at theFunction (theFileName:xx:yy)\n" +
"foo( 123 ); at theFunction (theFileName:xx:yy) // should be removed"
Expand Down

0 comments on commit 2759bfe

Please sign in to comment.