updated mismatched test and packages
This commit is contained in:
+2
-1
@@ -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'
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user