Skip to content
/ lab-babel Public
forked from nlf/lab-babel

A transform to allow testing babel.js transpiled code in lab more effectively

Notifications You must be signed in to change notification settings

eaze/lab-babel

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lab-babel is a small transform to allow testing your es6/jsx modules with lab, complete with code coverage and proper source maps.

Usage

lab -T node_modules/lab-babel -t 100 -S

Any module (that is not in node_modules) required via your tests with an extension of .js, .jsx, .es, or .es6 will be transpiled with babel and have sourcemaps inlined so that lab can show appropriate line numbers.

For more information on writing tests in lab, see the README.

About

A transform to allow testing babel.js transpiled code in lab more effectively

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%