To.be documentation

I have a test like:

pm.expect(visit.SessionType.ID).to.eql(30);

This test does not pass unless I put the 30 in double quotes. Since with JavaScript “30” == 30, I was thinking I was calling the wrong method. Then I start to look for other methods and could not find an exhaustive list of to..

Ideas?

Thank you.

1 Like

Hey @rkevinburton The pm.expect api is built atop chai, whose documentation can be found here: chaijs.com/api/bdd/