feat: adding testing for the function

This commit is contained in:
Carlos Gutierrez
2021-11-22 12:36:40 -06:00
parent 5701c5d878
commit 56f287d54e
5 changed files with 9544 additions and 5 deletions

View File

@@ -4,7 +4,7 @@
"description": "convert the timestamp in a format dd/mm/yyyy hh:mm:ss",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "jest"
},
"keywords": [
"time",
@@ -23,7 +23,8 @@
"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"husky": "^4.3.8"
"husky": "^4.3.8",
"jest": "^27.3.1"
},
"dependencies": {
"node-gmt": "^0.0.2"