Skip to content

Commit

Permalink
fix name change in README, bump
Browse files Browse the repository at this point in the history
  • Loading branch information
mblackstock committed Feb 17, 2018
1 parent 432db9c commit 27e2903
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# Node Test Helper

This project pulls out the node helper module from the Node-RED core so that it can used for node contributors.
This project pulls out the node helper module from the Node-RED core so that it can used for node nodeutors.

For examples on how to use this helper, see the Node-RED core node test code and some node .js files supplied in the `test/examples` folder.

## Adding to node project

To add to your node project test dependencies:

npm install node-red-contrib-test-helper --save-dev
npm install node-red-node-test-helper --save-dev

Inside your node test code:

```javascript
var helper = require('node-red-contrib-test-helper');
var helper = require('node-red-node-test-helper');
```

## Testing the helper
Expand All @@ -28,7 +28,7 @@ This is an example test for testing the lower-case node in the [Node-RED documen

```javascript
var should = require("should");
var helper = require("node-red-contrib-test-helper");
var helper = require("node-red-node-test-helper");
var lowerNode = require("../lower-case.js");

describe('lower-case Node', function () {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "node-red-node-test-helper",
"version": "0.1.1",
"version": "0.1.2",
"description": "A test framework for Node-RED nodes",
"main": "index.js",
"scripts": {
Expand Down

0 comments on commit 27e2903

Please sign in to comment.