mirror of
https://github.com/Blah-IM/typescript-core.git
synced 2025-04-30 16:21:10 +00:00
fix: tests
This commit is contained in:
parent
d699b54ff6
commit
214ccd90c3
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ const profile: BlahProfile = {
|
|||
typ: "profile",
|
||||
name: "Shibo Lyu",
|
||||
preferred_chat_server_urls: [],
|
||||
id_urls: [],
|
||||
id_urls: ["https://localhost"],
|
||||
};
|
||||
|
||||
let identity: BlahIdentity;
|
||||
|
@ -43,7 +43,7 @@ Deno.test("created identity profile signed correctly", async () => {
|
|||
expect(record.typ).toBe("profile");
|
||||
expect(record.name).toBe("Shibo Lyu");
|
||||
expect(record.preferred_chat_server_urls).toEqual([]);
|
||||
expect(record.id_urls).toEqual([]);
|
||||
expect(record.id_urls).toEqual(["https://localhost"]);
|
||||
});
|
||||
|
||||
Deno.test("parse identity description", async () => {
|
||||
|
|
Loading…
Add table
Reference in a new issue