Tool for convenient setup of Jasmine helpers
> npm install --save-dev code_cowboy-jasmine-helper_setup
To your executable script add:
const helperSetup = require('code_cowboy-jasmine-helper_setup');
helperSetup('<name of your helper>', '<complete code of your helper>');
#!/usr/bin/env node
const helperSetup = require('code_cowboy-jasmine-helper_setup');
content =
`'use strict';
const MyHelperModule = require('my_helper_module');
MyHelperModule.initialize();
`
helperSetup('my_helper', content);