Fix encryption.spec.ts.
This commit is contained in:
parent
1dd52cca78
commit
8c9092cc41
|
@ -4,7 +4,7 @@ import env from "../../environment"
|
||||||
describe("encryption", () => {
|
describe("encryption", () => {
|
||||||
it("should throw an error if API encryption key is not set", () => {
|
it("should throw an error if API encryption key is not set", () => {
|
||||||
const jwt = getSecret(SecretOption.API)
|
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", () => {
|
it("should throw an error if encryption key is not set", () => {
|
||||||
|
|
Loading…
Reference in New Issue