diff --git a/README.md b/README.md index 6b1248a..bef5e7e 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # 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. @@ -8,12 +8,12 @@ For examples on how to use this helper, see the Node-RED core node test code and 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 @@ -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 () { diff --git a/package.json b/package.json index b98fb87..f859121 100644 --- a/package.json +++ b/package.json @@ -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": {