import { expect } from 'chai' import { When, Then } from '@cucumber/cucumber' import * as compared from '../support/compared.js' When('I use chai', function () { }) Then('I see chai diff on failure', function () { expect(compared.actual).to.deep.equal(compared.expected) })