Update `should` to `13.2.3`
This commit is contained in:
parent
511c4763d3
commit
76673a8ed8
|
@ -43,7 +43,7 @@
|
|||
"loopback-connector-throwing": "file:./test/fixtures/loopback-connector-throwing",
|
||||
"mocha": "^6.1.4",
|
||||
"nyc": "^13.1.0",
|
||||
"should": "^8.4.0",
|
||||
"should": "^13.2.3",
|
||||
"typescript": "^3.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -183,16 +183,16 @@ describe('datatypes', function() {
|
|||
arr: [1, 'str'],
|
||||
nestedClass: new NestedClass('admin'),
|
||||
});
|
||||
created.list.should.deepEqual(['test']);
|
||||
created.arr.should.deepEqual([1, 'str']);
|
||||
created.list.toJSON().should.deepEqual(['test']);
|
||||
created.arr.toJSON().should.deepEqual([1, 'str']);
|
||||
created.date.should.be.an.instanceOf(Date);
|
||||
created.date.toString().should.equal(d.toString(), 'Time must match');
|
||||
created.nestedClass.should.have.property('roleName', 'admin');
|
||||
|
||||
const found = await Model.findById(created.id);
|
||||
should.exist(found);
|
||||
found.list.should.deepEqual(['test']);
|
||||
found.arr.should.deepEqual([1, 'str']);
|
||||
found.list.toJSON().should.deepEqual(['test']);
|
||||
found.arr.toJSON().should.deepEqual([1, 'str']);
|
||||
found.date.should.be.an.instanceOf(Date);
|
||||
found.date.toString().should.equal(d.toString(), 'Time must match');
|
||||
found.nestedClass.should.have.property('roleName', 'admin');
|
||||
|
|
Loading…
Reference in New Issue