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.
|value||any||The value to be compared|