Skip to content

Commit f211217

Browse files
authored
Merge pull request #367 from nostr-dev-kit/feature/thread-tests
Fix `src/thread` tests
2 parents 9b34bd3 + 15ee5ef commit f211217

File tree

1 file changed

+2
-24
lines changed

1 file changed

+2
-24
lines changed

core/src/thread/index.test.ts

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { beforeAll, beforeEach, describe, expect, it } from "vitest";
2+
13
import type { NDKEventId, NostrEvent } from "../events";
24
import { NDKEvent } from "../events";
35
import { NDK } from "../ndk";
@@ -166,30 +168,6 @@ describe("Threads to make Gigi ⚡🧡 happy", () => {
166168
'So I hear I am an ecash hater?\nTo be clear, I love ecash, it has great applications, such as paid API calls like in Wasabi. The worlds soft currencies will be ecash, built on Bitcoin stack.\nThere is however an issue when 90% bitcoiners think ecash is noncustodial, pegged, see it as a "scaling" solution.\n* There are no proof of reserve proposals that make sense, mints can always brr.\n* Ecash is not a scaling solution, it\'s a custodial solution.\n* You are giving someone your bitcoin, and they are giving you a thing they claim is bitcoin.\n* Mint operators should be aware of the legal risks.',
167169
sig: "0404562af5706ef330451be4dc0b8003959b7554bac47f7075c3fd616c21228d93c73f1d919de8ad2e8f09505ec572868ad82c3945ce7a3dcd6c5fdecc6e165b",
168170
});
169-
const _replyEvent = new NDKEvent(undefined, {
170-
id: "f88d4af5cf5e2817e498903e5ed907566ebb9682f78f365cc60cf3c4009d1b48",
171-
pubkey: "f55678aa1f5d554536d456b13beab04f636d63fdedd586fe38a4cb9ce48c90bc",
172-
created_at: 1713516665,
173-
kind: 1,
174-
tags: [
175-
[
176-
"e",
177-
"c2fe486097fb72a49081baba7b53c3cffa886e9e0117462b9c31f2e79f09c1e7",
178-
"wss://nostr.mom/",
179-
"root",
180-
],
181-
[
182-
"e",
183-
"c2fe486097fb72a49081baba7b53c3cffa886e9e0117462b9c31f2e79f09c1e7",
184-
"wss://nostr.mom/",
185-
"reply",
186-
],
187-
["p", "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1", "", "mention"],
188-
],
189-
content:
190-
"All points valid. But I would love to see Cashu as a base in lnbits, as it is already a custodial multi-wallet.",
191-
sig: "67946ee386c5d178292adf7a6408a14e3bdbfd2a6073c92527761bce41f827248b6689c0a971982a3927d8d768e67f37cee4d47aa16c186653d0964b0e912259",
192-
});
193171
const replyToReplyEvent = new NDKEvent(undefined, {
194172
id: "876b69c0452b0243ab9509dfb928c1cf86cbae1ab4aca15eb49f9b4bc714f558",
195173
pubkey: "c1fc7771f5fa418fd3ac49221a18f19b42ccb7a663da8f04cbbf6c08c80d20b1",

0 commit comments

Comments
 (0)