Files
sf-sim/packages/sim-shared/aplication/JWT.service.test.ts

18 lines
487 B
TypeScript
Raw Normal View History

2026-01-27 10:00:51 +01:00
import { test, describe } from "vitest"
import { jwtService } from "../config/jwtService.config.js"
2026-04-27 11:05:09 +02:00
/*
describe("Tokens Objenious", (test) => {
const jwt = jwtService
2026-01-27 10:00:51 +01:00
test("Solicicitud normal de auth", async () => {
const token = await jwt.getAccessToken()
console.log("acceso objenious", token)
2026-01-27 12:31:37 +01:00
}),
test("Solicicitud de refresh de auth", async () => {
const token = await jwt.tryRefreshToken()
2026-01-27 12:31:37 +01:00
console.log("acceso refresh objenious", token)
})
2026-01-27 10:00:51 +01:00
})
2026-04-27 11:05:09 +02:00
*/