Skip to content

Commit

Permalink
fix: clean tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jcmelati committed Oct 16, 2024
1 parent 48ed622 commit 3e58f4a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class CryptoPlatformCallback : ICryptoServiceCallbackJS {
JSON.parse<dynamic>(Json.encodeToString(jwk)), alg = decodedJwt.header.alg ?: "RS256"
).then { publicKey: dynamic ->
val options: dynamic = js("({})")
options["currentDate"] = js("new Date(Date.parse(\"Aug 14, 2024 11:30:00\"))")
options["currentDate"] = js("new Date(Date.parse(\"Oct 14, 2024 01:00:00\"))")

Jose.jwtVerify(jwt, publicKey, options).then { verification: dynamic ->
verification != undefined
Expand Down
Loading

0 comments on commit 3e58f4a

Please sign in to comment.