Skip to content

Commit

Permalink
remove test that requires old bcrypt
Browse files Browse the repository at this point in the history
  • Loading branch information
cbaker6 committed Jan 22, 2024
1 parent 73e2fc0 commit ecff8ec
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions spec/Auth.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,17 +81,6 @@ describe('Auth', () => {
.then(roles => expect(roles).toEqual([]))
.then(() => done());
});

it('should properly handle bcrypt upgrade', done => {
const bcryptOriginal = require('bcrypt-nodejs');
const bcryptNew = require('bcryptjs');
bcryptOriginal.hash('my1Long:password', null, null, function (err, res) {
bcryptNew.compare('my1Long:password', res, function (err, res) {
expect(res).toBeTruthy();
done();
});
});
});
});

it('can use extendSessionOnUse', async () => {
Expand Down

0 comments on commit ecff8ec

Please sign in to comment.