toaster / jasmine-helper_setup

Tool for convenient setup of Jasmine helpers

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:JavaScript 100.0%