Knowledge check: Introduction to testing in Javascript
What is the correct way to export the timesTwo function as a module so that Jest can use it in testing files?
export module(timesTwo)
module(exported(timesTwo))
document.module.export = timesTwo
module.exports = timesTwo
Testing is a way to ve...
eplus.dev1 min read