You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Snapshot test wrapper no longer drops test.todo/.skip/.only/.each on bun. 0.2.12's toMatchSnapshot wraps describe/test/it to track the current test name, copying their sub-methods with Object.getOwnPropertyNames. bun exposes those sub-methods on the prototype, not as own properties, so the copy found only length/name and dropped them all — every bun test file calling test.todo(...) (etc.) then threw undefined is not a function and aborted the rest of that file, silently reducing the bun test count. (node exposes them as own properties, so node was unaffected.) The wrapper now walks the prototype chain, covering both runtimes.