const decodedToken: { exp: number } = jwt_decode(token);. And then in tests tried the following and got errors like below: jest.mock('jwt-decode');.
確定! 回上一頁