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.
and(value) works the same as expect(value), but can be used to chain multiple tests together.
Parameter | Type | Description |
---|---|---|
value | any | The value to be compared |
Returns
Type | Description |
---|---|
Funk | Funk object |