Skip to content

spencerwilson-optimizely/rollup-plugin-stub-bug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

First, nvm install && npm ci. Then,

1) Observe source map support

Without changes, npm test yields the following (excerpt):

  1) #makeSandwich
       does not throw:
     Error: no ingredients
      at makeSandwich (a.js:2:9)
      at Context.<anonymous> (test.js:5:5)
      at processImmediate (internal/timers.js:439:21)

2) Enable rollup-plugin-stub

Uncomment the plugin inclusion in rollup.plugin.js. Then rerun npm test. One finds:

  1) #makeSandwich
       does not throw:
     Error: no ingredients
      at makeSandwich (dist/bundle.js:2:9)
      at Context.<anonymous> (dist/bundle.js:7:5)
      at processImmediate (internal/timers.js:439:21)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published