Closed ideyuta closed 6 years ago
toString was added to the return value of validate from tv4@1.3.0.
toString
tv4@1.3.0
Ref: https://github.com/geraintluff/tv4/commit/a00bee535ae7498becd53f9a8071c1cc0bdc4359
Current output code
const data = {}; assert.deepEqual( tv4.validateMultiple( data, { "properties": {}, "type": ["object"] } ), { errors: [], missing: [], valid: true } );
tv4@1.2.7
no error
AssertionError: { toString: [Function: toString], errors: [], missing: [], valid: true } deepEqual { errors: [], missing: [], valid: true }
What do you want ?
cc @moqada
toString
was added to the return value of validate fromtv4@1.3.0
.Ref: https://github.com/geraintluff/tv4/commit/a00bee535ae7498becd53f9a8071c1cc0bdc4359
Problem
Current output code
tv4@1.2.7
no error
tv4@1.3.0
Solution
What do you want ?
cc @moqada