UNPKG

testdouble

Version:

A minimal test double library for TDD with JavaScript

8 lines (6 loc) • 294 B
export default () => { throw Error('Sorry, but CommonJS module replacement with td.replace() is only supported under Node.js runtimes.') } export function replaceEsModule () { throw Error('Sorry, but ES module replacement with td.replaceEsm() is only supported under Node.js runtimes.') }