mirror of
https://github.com/stolksdorf/homebrewery.git
synced 2025-12-20 21:11:29 +00:00
Fixing edge cases in the search tests
This commit is contained in:
@@ -15,6 +15,10 @@ const Chai = require('chai')
|
||||
const log = require('loglevel');
|
||||
log.setLevel(config.get('log_level'));
|
||||
|
||||
const jwt = require('jwt-simple');
|
||||
module.exports = {
|
||||
should: Chai.should()
|
||||
should: Chai.should(),
|
||||
getSessionToken : (userInfo) => {
|
||||
return jwt.encode(userInfo, config.get('jwt_secret'));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user