Skip to content

Commit

Permalink
Updated node version requirements
Browse files Browse the repository at this point in the history
  • Loading branch information
easternbloc committed Jan 15, 2012
1 parent cb963af commit 747cfa1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -17,6 +17,10 @@ To properly unit test your code you need mock all the modules and methods your m
dns.resolve4(urlParsed, callback);
};

## Installation

npm install syringe

In order to unit test this module properly, you need to mock functions in the dns and url modules. Syringe lets you inject directly over the top of modules or selectively mock the methods in them you're using.

var dns = require('./dns');
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -1,6 +1,6 @@
{
"author": "Ben Marvell <madmarv187@gmail.com>",
"name": "Syringe",
"name": "syringe",
"description": "Dependency mocking for node modules.",
"version": "0.1.1",
"homepage": "https://github.com/easternbloc/Syringe",
Expand All @@ -13,7 +13,7 @@
"test": "nodeunit test/"
},
"engines": {
"node": "~0.4.x"
"node":">= 0.4.0 < 0.7.0"
},
"dependencies": {},
"devDependencies": {
Expand Down

0 comments on commit 747cfa1

Please sign in to comment.