updated mismatched test and packages

This commit is contained in:
2026-02-19 18:37:13 +01:00
parent 86f8bc139a
commit c6c3a42ffd
3 changed files with 3247 additions and 1582 deletions
+2 -1
View File
@@ -1,4 +1,5 @@
import JwtAuth from "./jwt";
import type { SignOptions } from "jsonwebtoken";
describe('JWT', () => {
const jwt = new JwtAuth('secret');
@@ -7,7 +8,7 @@ describe('JWT', () => {
password: 'test'
};
const settings: {expiresIn: string} = {
const settings: SignOptions = {
expiresIn: '1h'
};