test: update pwd test for bcrypt3.x

This commit is contained in:
Barış Soner Uşaklı
2025-02-26 12:00:54 -05:00
parent 6f26942c4b
commit ca0fa1d347

View File

@@ -9,7 +9,7 @@ describe('Password', () => {
describe('.hash()', () => { describe('.hash()', () => {
it('should return a password hash when called', async () => { it('should return a password hash when called', async () => {
const hash = await password.hash(12, 'test'); const hash = await password.hash(12, 'test');
assert(hash.startsWith('$2a$')); assert(hash.startsWith('$2b$'));
}); });
}); });