Add nevent extension separate from matcher extension #11
Annotations
2 errors and 1 warning
src/__tests__/parser.test.ts > parseNoteContent > Should assert content with multiple nodes:
src/__tests__/parser.test.ts#L152
Error: Snapshot `parseNoteContent > Should assert content with multiple nodes 1` mismatched
- Expected
+ Received
@@ -33,35 +33,11 @@
],
"text": "#tag",
"type": "text",
},
{
- "text": " ",
- "type": "text",
- },
- ],
- "type": "paragraph",
- },
- {
- "attrs": {
- "author": "86b263e4003a8f41d48a7f17eaa6b02692175e7509d3d54c225944f78c863005",
- "id": "c2ad9ca8762b1ac4138b900e131327cf4aa24931c7c7b4e0e75693b760788b0f",
- "kind": null,
- "relays": [],
- },
- "content": [
- {
- "text": "nostr:nevent1qgsgdvnrusqr4r6p6j9879l256czdyshte6sn574fs39j38h3jrrqpgqyrp2m89gwc4343qn3wgquycnyl854gjfx8ru0d8quatf8dmq0z9s7j60yeu",
- "type": "text",
- },
- ],
- "type": "nevent",
- },
- {
- "content": [
- {
- "text": " Hi ",
+ "text": " nostr:nevent1qgsgdvnrusqr4r6p6j9879l256czdyshte6sn574fs39j38h3jrrqpgqyrp2m89gwc4343qn3wgquycnyl854gjfx8ru0d8quatf8dmq0z9s7j60yeu Hi ",
"type": "text",
},
{
"attrs": {
"pubkey": "c6603b0f1ccfec625d9c08b753e4f774eaf7d1cf2769223125b5fd4da728019e",
❯ src/__tests__/parser.test.ts:152:35
|
checks (18)
Process completed with exit code 1.
|
checks (18)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, pnpm/action-setup@v2, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|