warningexpect.js library is no longer maintained
expect.js library has been deprecated in favor of Chaijs.
Please migrate to the k6Chaijs library. The documentation below is retained for historical reasons.
expect(value) sets the value to be used in comparison by the next function in the chain.
Parameter | Type | Description |
---|---|---|
value | any | The value to be compared |
Returns
Type | Description |
---|---|
Funk | Funk object |