0.0.1 • Published 8 years ago

code_cowboy-jasmine-helper_setup v0.0.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

jasmine-helper_setup

Tool for convenient setup of Jasmine helpers

Installation

> npm install --save-dev code_cowboy-jasmine-helper_setup

Usage

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);