1 parent c713c61 commit a2e4aa8Copy full SHA for a2e4aa8
1 file changed
school/tests/sinon.spec.js
@@ -44,7 +44,7 @@ describe.only('Sinon', function () {
44
expect('should fail').to.equal('but no');
45
}
46
catch (error) {
47
- console.log({ error })
+ console.log(error.error)
48
// expect(error).to.equal(`Cannot read property 'data' of undefined`)
49
50
});
0 commit comments