add topicstore with test
Showing
... | @@ -4,6 +4,7 @@ | ... | @@ -4,6 +4,7 @@ |
"description": "", | "description": "", | ||
"main": "flowagent.js", | "main": "flowagent.js", | ||
"scripts": { | "scripts": { | ||
"test": "mocha spec --require spec/helpers/chai.js --reporter spec --exit", | |||
"start": "node run.js" | "start": "node run.js" | ||
}, | }, | ||
"author": "NEXPIE Company Limited (https://nexpie.com)", | "author": "NEXPIE Company Limited (https://nexpie.com)", | ||
... | @@ -14,5 +15,10 @@ | ... | @@ -14,5 +15,10 @@ |
"lodash.merge": "^4.6.2", | "lodash.merge": "^4.6.2", | ||
"mosca": "^2.8.3", | "mosca": "^2.8.3", | ||
"mqtt": "^3.0.0" | "mqtt": "^3.0.0" | ||
}, | |||
"devDependencies": { | |||
"chai": "^4.2.0", | |||
"chai-each": "0.0.1", | |||
"chai-things": "^0.2.0" | |||
} | } | ||
} | } |
spec/helpers/chai.js
0 → 100644
spec/topicstore.js
0 → 100644
topicstore.js
0 → 100644
Please
register
or
sign in
to comment