diff options
author | Justin Worthe <justin@worthe-it.co.za> | 2017-06-24 19:54:05 +0200 |
---|---|---|
committer | Justin Worthe <justin@worthe-it.co.za> | 2017-06-24 19:54:05 +0200 |
commit | 426d5092b80eca28517df455f70468d2e0fb1378 (patch) | |
tree | 78f0f65acce23abc77554dcc24162f404e5709d7 /test | |
parent | 80d3f7d29ee0b62c6dcae6f2ee8977adf4159c67 (diff) |
Updated dev dependencies and added linting
Diffstat (limited to 'test')
-rw-r--r-- | test/test.js | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/test.js b/test/test.js index 01fe3fd..32a8358 100644 --- a/test/test.js +++ b/test/test.js @@ -1,7 +1,15 @@ +'use strict'; +/*jshint + node: true +*/ + +var mocha = require('mocha'); +var describe = mocha.describe; +var it = mocha.it; var expect = require('chai').expect; var saIdParser = require('../south-african-id-parser.js'); -describe('South African ID Number Parsing', function() { +describe('South African ID Number Parsing', function () { var validIdNumbers = [{ idNumber: '9001049818080', dateOfBirth: new Date(1990, 0, 4), |