出于测试目的,我需要模拟jwt-decode 库。我使用它如下: const decodedToken: { exp: number } = jwt_decode(token); 然后在测试中尝试了以下并得到如下错误:
確定! 回上一頁