This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const optionsDefault = { | |
app: null, // Value set during configuration. | |
service: '/users', | |
path: 'authManagement', | |
emailField: 'email', | |
dialablePhoneField: 'dialablePhone', | |
passwordField: 'password', | |
longTokenLen: 15, | |
shortTokenLen: 6, | |
shortTokenDigits: true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Scaffolding generated | |
contextBefore = { | |
type: 'before', | |
params: { provider: 'socketio' }, | |
data: { | |
} | |
}; | |
contextAfter = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
const discard = require('../../src/hooks/discard'); | |
describe('Test /hooks/discard.unit.test.js', () => { | |
// eslint-disable-next-line no-unused-vars | |
let contextBefore, contextAfterPaginated, | |
// eslint-disable-next-line no-unused-vars | |
contextAfter, contextAfterMultiple; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const assert = require('assert'); | |
const verifyEmail = require('../../../../src/hooks/discard'); | |
describe('Test /hooks/discard.unit.test.js', () => { | |
// eslint-disable-next-line no-unused-vars | |
let contextBefore, contextAfterPaginated, | |
// eslint-disable-next-line no-unused-vars | |
contextAfter, contextAfterMultiple; | |
beforeEach(() => { |