test(server): Initial set of tests and travis integration added
This commit is contained in:
parent
f06ace8c83
commit
53646c9191
17 changed files with 400 additions and 458 deletions
14
test/mocks/config.js
Normal file
14
test/mocks/config.js
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
'use strict';
|
||||
|
||||
var LamassuConfig = module.exports = function (conString, pairingTokenTTL) {
|
||||
};
|
||||
LamassuConfig.prototype.load = function load() {
|
||||
|
||||
};
|
||||
LamassuConfig.prototype.on = function on() {
|
||||
|
||||
};
|
||||
|
||||
LamassuConfig.prototype.isAuthorized = function isAuthorized(fingerprint, cb) {
|
||||
cb(null, true);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue