mirror of
https://gitlab.silvrtree.co.uk/martind2000/md-utils.git
synced 2025-01-10 21:05:09 +00:00
0.0.3
Added mocha and tests
This commit is contained in:
parent
786f174a9d
commit
d7b028a786
@ -5,6 +5,7 @@
|
||||
"window",
|
||||
"-Promise"
|
||||
],
|
||||
"node": true,
|
||||
"browser": true,
|
||||
"boss": true,
|
||||
"curly": true,
|
||||
|
@ -8,10 +8,12 @@
|
||||
},
|
||||
"main": "lib/md-utils.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "mocha --recursive --reporter spec --bail --check-leaks --timeout 3000"
|
||||
},
|
||||
"dependencies": {},
|
||||
"devDependencies": {
|
||||
"mocha": "^2.4.5",
|
||||
"mocha-jshint": "^2.3.1"
|
||||
},
|
||||
"private": true,
|
||||
"author": "Martin Donnelly <martind2000@gmail.com>",
|
||||
|
8
test/jshint.spec.js
Normal file
8
test/jshint.spec.js
Normal file
@ -0,0 +1,8 @@
|
||||
/**
|
||||
*
|
||||
* User: Martin Donnelly
|
||||
* Date: 2016-03-15
|
||||
* Time: 13:42
|
||||
*
|
||||
*/
|
||||
require('mocha-jshint')({paths:['lib']});
|
2
test/mocha.opts
Normal file
2
test/mocha.opts
Normal file
@ -0,0 +1,2 @@
|
||||
--slow 200
|
||||
--growl
|
Loading…
Reference in New Issue
Block a user