Fix encryption.spec.ts.

This commit is contained in:
Sam Rose 2024-11-07 17:19:03 +00:00
parent 1dd52cca78
commit 8c9092cc41
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import env from "../../environment"
describe("encryption", () => {
it("should throw an error if API encryption key is not set", () => {
const jwt = getSecret(SecretOption.API)
expect(jwt).toBe(env.JWT_SECRET)
expect(jwt).toBe(env.JWT_SECRET?.export().toString())
})
it("should throw an error if encryption key is not set", () => {