introscope (★ 62) - a babel plugin and a set of tools for delightful unit testing of modern ES6 modules. It allows you to override imports, locals, globals and built-ins (like
No need to export all the functions/variables of your module just to make it testable, Introscope does it automatically by changing the module source on the fly in testing environment.
#js #es6 #babel #testing #unittests
Date or Math) independently for each unit test by instrumenting your ES6 modules on the fly.No need to export all the functions/variables of your module just to make it testable, Introscope does it automatically by changing the module source on the fly in testing environment.
#js #es6 #babel #testing #unittests