Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ branches:
cache:
directories:
- "$HOME/.npm"
- ".eslintcache"
stage: test
env:
global:
Expand Down
1 change: 1 addition & 0 deletions spec/AdapterLoader.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ describe('AdapterLoader', () => {
});

it('should load S3Adapter from direct passing', done => {
spyOn(console, 'warn').and.callFake(() => {});
const s3Adapter = new S3Adapter('key', 'secret', 'bucket');
expect(() => {
const adapter = loadAdapter(s3Adapter, FilesAdapter);
Expand Down
2 changes: 2 additions & 0 deletions spec/CLI.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ describe('commander additions', () => {
});

it('should not override config.json', done => {
spyOn(console, 'log').and.callFake(() => {});
commander.loadDefinitions(testDefinitions);
commander.parse(
[
Expand Down Expand Up @@ -160,6 +161,7 @@ describe('commander additions', () => {
});

it('should load config from apps', done => {
spyOn(console, 'log').and.callFake(() => {});
commander.loadDefinitions(testDefinitions);
commander.parse([
'node',
Expand Down
1 change: 0 additions & 1 deletion spec/EmailVerificationToken.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ describe('Email Verification Token Expiration: ', () => {
// wait for 1 second - simulate user behavior to some extent
setTimeout(() => {
expect(sendEmailOptions).not.toBeUndefined();
console.log(sendEmailOptions.link);

request({
url: sendEmailOptions.link,
Expand Down
2 changes: 1 addition & 1 deletion spec/MockLdapServer.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function newServer(port, dn, provokeSearchError = false) {
server.search('o=example', function(req, res, next) {
if (provokeSearchError) {
res.end(ldapjs.LDAP_SIZE_LIMIT_EXCEEDED);
return next(new ldapjs.NoSuchObjectError('fake error'));
return next();
}
const obj = {
dn: req.dn.toString(),
Expand Down
Loading