tj / should.js

BDD style assertions for node.js -- test framework agnostic
MIT License
2.75k stars 195 forks source link

Cannot figure out what's wrong with '.keys()' method #228

Open posquit0 opened 8 years ago

posquit0 commented 8 years ago

I got the below error message after updating should package from 10.0.0 to 11.1.1. It doesn't have any error before.

 Uncaught AssertionError: expected Object {
  expiry: Object {
    ...
  },
  registrationNumber: Object {
    ...
  },
  password: Object {
    ...
  }
} to have key expiry,registrationNumber,password
        missing keys: expiry,registrationNumber,password