Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/unit/explorer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ mock.module('codeceptjs', () => {
};

const container = {
// Bun applies this mock to `codeceptjs/lib/container` too, and it outlives this
// file: later test files importing Container get this object. Keep the statics
// codeceptjs itself reads at import time — aiTrace.js caches STANDARD_ACTING_HELPERS
// in a module-level const and throws on a for-of over undefined.
STANDARD_ACTING_HELPERS: ['Playwright', 'WebDriver', 'Puppeteer', 'Appium'],
create: () => {},
helpers: (name: string) => {
if (name === 'Playwright') {
Expand Down
Loading