mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-07-05 06:55:30 +00:00
msgpack
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { upload } from "./actions";
|
||||
import { deriveKey } from "./encryption";
|
||||
|
||||
describe("actions", () => {
|
||||
describe("upload", () => {
|
||||
it("upload", async () => {
|
||||
const key = deriveKey("abc");
|
||||
await expect(
|
||||
upload({ public: "foo", metadata: { views: 1 }, files: [] }, key),
|
||||
).resolves.toBe({});
|
||||
});
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user