Ultimate

X_CASSETTE_MISSING

Means

a cassette replayed with no recording on disk

Typical cause

cassette() ran in replay mode and <dir>/cassettes/<name>.json does not exist: the test was never recorded, or the file was renamed

Fix

ULTIMATE_CASSETTE=record bun test <file> — with cassette(import.meta.dir, <name>, { record: { hosts: [<host>] } })

Listed under Testing

This page as markdown