Skip to content

toaster/jasmine-helper_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Tool for convenient setup of Jasmine helpers

Resources

License

Stars

Watchers

Forks

Packages

No packages published