From 3651725bb4d159f37ab891497094809471da4a06 Mon Sep 17 00:00:00 2001 From: Justin Worthe Date: Sun, 13 Dec 2015 22:09:06 +0200 Subject: Added tests for ID validator --- package.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 35fea77..5517a4f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "description": "A library for parsing and validating South African ID Numbers. In South Africa, all residents are assigned an ID Number. From this number, you can derive some information, like ther person's date of birth and their sex. The number also includes a check digit, that you can use to check that it has been captured correctly.", "main": "index.js", "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" + "test": "mocha" }, "keywords": [ "South", @@ -13,5 +13,9 @@ "Number" ], "author": "Justin Worthe ", - "license": "ISC" + "license": "ISC", + "dependencies": { + "chai": "^3.4.1", + "mocha": "^2.3.4" + } } -- cgit v1.2.3