This is an expect-wrapper that you can use with CodeceptJS.
This requires Node.js v16+ to run. NPM package: https://www.npmjs.com/package/codeceptjs-expectwrapper
cd codeceptjs-project
npm i codeceptjs-expectwrapper
This helper should be added in codecept.conf.ts/codecept.conf.js
Example:
{
"helpers": {
"Expectwrapper": {
"require": "codeceptjs-expectwrapper"
}
}
}