ADD unit testing for resource strategies

This commit is contained in:
David Recuenco
2019-03-21 10:35:07 +01:00
parent 6204be6ab1
commit 9071f9b229
3 changed files with 132 additions and 2 deletions

View File

@@ -7,7 +7,7 @@
"go-npm": "./bin/index.js"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"test": "jest",
"prepublish": "node_modules/babel-cli/bin/babel.js src --out-dir bin --presets es2015"
},
"author": "Sanath Kumar Ramesh <dayanandasaraswati@gmail.com>",
@@ -25,6 +25,8 @@
"devDependencies": {
"babel-cli": "^6.24.1",
"babel-core": "^6.25.0",
"babel-preset-es2015": "^6.24.1"
"babel-preset-es2015": "^6.24.1",
"jest": "^24.5.0",
"rewire": "^4.0.1"
}
}