Skip to content

Failing test #27

Description

@OmgImAlexis

I'm trying to run the tests and this assertion keeps failing.

assert.ok(/Wed.+ 2011 \d\d:02:31 GMT/.test(out));

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 } }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions