rprieto / mocha-steps

Sequential scenarios for mocha
73 stars 17 forks source link

Add named exports #12

Closed albertogasparin closed 8 years ago

albertogasparin commented 8 years ago

Closes #11. This allow per-file inclusion instead of forcing a global require. And works nicely with Babel and ES modules:

import { step, xstep } from 'mocha-steps';
rprieto commented 8 years ago

Looks great! Thanks for implementing this and adding tests 👍 (I'll publish a new version tomorrow)