Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-1499

tests encoding functions differs in output between versions of node

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Trivial - P5 Trivial - P5
    • None
    • Affects Version/s: None
    • Component/s: BSON
    • Labels:
      None

      Our serializeFunction method depends on the output of Function.prototype.toString, which has changed in recent versions of node. As a result, a number of our bson tests are failing due to an expected output string of function () {} rather than function() {}.

            Assignee:
            matt.broadstone@mongodb.com Matt Broadstone
            Reporter:
            matt.broadstone@mongodb.com Matt Broadstone
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: