Why I am not able to see any methods for expect in protractor?
For example when use expect in protractor like below
expect(true).toBe(true);
After the dot I don't find any method as shown above toBe()
C:\>npm -g list
C:\Users\x216526\AppData\Roaming\npm
+-- protractor@4.0.3
| +-- adm-zip@0.4.7
| +-- chalk@1.1.3
| | +-- ansi-styles@2.2.1
| | +-- escape-string-regexp@1.0.5
| | +-- has-ansi@2.0.0
| | | `-- ansi-regex@2.0.0
| | +-- strip-ansi@3.0.1
| | `-- supports-color@2.0.0
| +-- glob@7.0.5
| | +-- fs.realpath@1.0.0
| | +-- inflight@1.0.5
| | | `-- wrappy@1.0.2
| | +-- inherits@2.0.1
| | +-- minimatch@3.0.3
| | | `-- brace-expansion@1.1.6
| | | +-- balanced-match@0.4.2
| | | `-- concat-map@0.0.1
| | +-- once@1.3.3
| | `-- path-is-absolute@1.0.0
| +-- jasmine@2.4.1
| | +-- exit@0.1.2
| | +-- glob@3.2.11
| | | `-- minimatch@0.3.0
| | | +-- lru-cache@2.7.3
| | | `-- sigmund@1.0.1
| | `-- jasmine-core@2.4.1
| +-- jasminewd2@0.0.9
| +-- optimist@0.6.1
| | +-- minimist@0.0.10
| | `-- wordwrap@0.0.3
| +-- protractor-html-screenshot-reporter@0.0.21 extraneous
| +-- protractor-jasmine2-html-reporter@0.0.6 extraneous
| +-- protractor-jasmine2-screenshot-reporter@0.2.0 extraneous
| +-- q@1.4.1
Please also tell me if their is any direct command to find the Jasmine version just like protractor --version
.