# To.be documentation

**URL:** <https://community.postman.com/t/to-be-documentation/746>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [January 22, 2018, 8:59pm UTC](https://community.postman.com/t/to-be-documentation/746 "2018-01-22T20:59:18Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rkevinburton](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/rkevinburton/32/273_2.png) [@rkevinburton](https://community.postman.com/u/rkevinburton)\
**Post date:** [January 22, 2018, 8:59pm UTC](https://community.postman.com/t/to-be-documentation/746/1 "2018-01-22T20:59:18Z")

</div>

I have a test like:

pm.expect([visit.SessionType.ID](http://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.

---

<div class="post-metadata">

**Author:** ![kunagpal](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/kunagpal/32/9_2.png) [@kunagpal](https://community.postman.com/u/kunagpal)\
**Post date:** [January 23, 2018, 8:08pm UTC](https://community.postman.com/t/to-be-documentation/746/2 "2018-01-23T20:08:04Z")

</div>

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