tungus icon indicating copy to clipboard operation
tungus copied to clipboard

Failing test

Open OmgImAlexis opened this issue 5 years ago • 0 comments

I'm trying to run the tests and this assertion keeps failing. https://github.com/sergeyksv/tungus/blob/29012d64046de50ae0a0e8920e0619e3bee8d46a/test/model.test.js#L3870

When logging the object it's checking this is the output I get.

{title: 'Test',
  _id:
   ObjectID { _bsontype: 'ObjectID', id: 'MÓáiÛû\u0013´W\u0000\u0000¹' },
  date: 2011-05-18T15:02:31.086Z,
  nested: { array: [] },
  comments:
   [ { _id: [ObjectID],
       title: 'my comment',
       date: 2011-05-18T15:02:31.086Z,
       body: 'this is a comment',
       comments: [] },
     { _id: [ObjectID],
       title: 'the next thang',
       date: 2011-05-18T15:02:31.086Z,
       body: 'this is a comment too!',
       comments: [] } ],
  owners:
   [ ObjectID { _bsontype: 'ObjectID', id: 'MÓáiÛû\u0013´W\u0000\u0000¶' } ],
  numbers: [ 5, 6, 7 ],
  meta: { visitors: 45 } }

OmgImAlexis avatar May 12 '19 05:05 OmgImAlexis