Ejemplo n.º 1
0
    before(async () => {
      stub(rollup, 'rollup')

      const bundleStub = { generate: stub().returns(compiled) }
      rollup.rollup.resolves(bundleStub)
      js = await compiler.compile('zzz')
    })
Ejemplo n.º 2
0
 after(() => {
   rollup.rollup.restore()
 })