1
0
Fork 0
liza/test/server
Mike Gerwitz c90757a6d3 TokenDao: Callbacks=>promises
This makes minimal changes to TokenedService, even though there is obvious
refactoring that can be done to reduce duplication, because the class is
currently untested.

* src/server/service/TokenedService.js (_getQuoteToken, generateToken,
    killToken, acceptToken, completeToken): Expect promise.
* src/server/token/TokenDao.ts (updateToken, getToken): Remove callback
    param, return Promise.
* test/server/token/TokenDaoTest.ts: Use promises.
2019-10-17 11:47:14 -04:00
..
db Copyright range update 2019-08-30 09:41:35 -04:00
meta Copyright range update 2019-08-30 09:41:35 -04:00
quote Copyright range update 2019-08-30 09:41:35 -04:00
request Copyright range update 2019-08-30 09:41:35 -04:00
service Copyright range update 2019-08-30 09:41:35 -04:00
token TokenDao: Callbacks=>promises 2019-10-17 11:47:14 -04:00