code_cowboy-jasmine-helper_setup
v0.0.1
Published
tool for convenient setup of Jasmine helpers
Readme
jasmine-helper_setup
Tool for convenient setup of Jasmine helpers
Installation
> npm install --save-dev code_cowboy-jasmine-helper_setupUsage
To your executable script add:
const helperSetup = require('code_cowboy-jasmine-helper_setup');
helperSetup('<name of your helper>', '<complete code of your helper>');Example
#!/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);