mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-18 15:35:26 +02:00
14 lines
377 B
TypeScript
14 lines
377 B
TypeScript
import getEncryptionPassword from "../src/utils/crypto/get-encryption-password"
|
|
|
|
describe("getEncryptionPassword", () => {
|
|
it("is defined", () => {
|
|
expect(getEncryptionPassword).toBeDefined()
|
|
})
|
|
|
|
it("returns a string", async () => {
|
|
const result = await getEncryptionPassword("test@kleckrelay.example", "password", "salt")
|
|
|
|
expect(typeof result).toBe("object")
|
|
})
|
|
})
|