-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add test package before publishing
- Loading branch information
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
const assert = require('assert'); | ||
const AuthenticationTokensManager = require('../src/authenticationTokensManager'); | ||
|
||
describe('AuthenticationTokensManager', function() { | ||
describe('#generateToken()', function() { | ||
it('should generate a valid token', function() { | ||
// Test implementation | ||
}); | ||
}); | ||
|
||
describe('#verifyToken()', function() { | ||
it('should return true for a valid token', function() { | ||
// Test implementation | ||
}); | ||
|
||
it('should return false for an invalid token', function() { | ||
// Test implementation | ||
}); | ||
}); | ||
|
||
describe('#refreshTokens()', function() { | ||
it('should refresh expired tokens', function() { | ||
// Test implementation | ||
}); | ||
}); | ||
}); |