Skip to content

Commit

Permalink
chore: add test package before publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
onedionys committed Mar 8, 2024
1 parent b9260c7 commit cfb1d70
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions test/index.test.js
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
});
});
});

0 comments on commit cfb1d70

Please sign in to comment.