Better approach on FileUpload #57
Annotations
4 errors and 3 warnings
src/__tests__/parser.test.ts > parseNote() > Should assert content with a image url with imeta:
src/__tests__/parser.test.ts#L57
Error: Snapshot `parseNote() > Should assert content with a image url with imeta 1` mismatched
- Expected
+ Received
@@ -9,12 +9,12 @@
"file": null,
"hash": null,
"sha256": null,
"src": "http://host.com/image",
"uploadError": null,
- "uploadType": "nip96",
+ "uploadType": "blossom",
- "uploadUrl": "https://nostr.build",
+ "uploadUrl": "https://localhost:3000",
"uploading": false,
},
"type": "image",
},
{
❯ src/__tests__/parser.test.ts:57:30
|
src/__tests__/parser.test.ts > parseNote() > Should assert content with multiple nodes:
src/__tests__/parser.test.ts#L146
Error: Snapshot `parseNote() > Should assert content with multiple nodes 1` mismatched
- Expected
+ Received
@@ -83,12 +83,12 @@
"file": null,
"hash": null,
"sha256": null,
"src": "https://nostr.com/img.jpg",
"uploadError": null,
- "uploadType": "nip96",
+ "uploadType": "blossom",
- "uploadUrl": "https://nostr.build",
+ "uploadUrl": "https://localhost:3000",
"uploading": false,
},
"type": "image",
},
{
❯ src/__tests__/parser.test.ts:146:30
|
src/__tests__/parser.test.ts > parseNote() > Should assert image links with line breaks:
src/__tests__/parser.test.ts#L467
Error: Snapshot `parseNote() > Should assert image links with line breaks 1` mismatched
- Expected
+ Received
@@ -14,12 +14,12 @@
"file": null,
"hash": null,
"sha256": null,
"src": "https://host.com/1.jpeg",
"uploadError": null,
- "uploadType": "nip96",
+ "uploadType": "blossom",
- "uploadUrl": "https://nostr.build",
+ "uploadUrl": "https://localhost:3000",
"uploading": false,
},
"type": "image",
},
{
@@ -36,12 +36,12 @@
"file": null,
"hash": null,
"sha256": null,
"src": "https://host.com/2.jpeg",
"uploadError": null,
- "uploadType": "nip96",
+ "uploadType": "blossom",
- "uploadUrl": "https://nostr.build",
+ "uploadUrl": "https://localhost:3000",
"uploading": false,
},
"type": "image",
},
{
❯ src/__tests__/parser.test.ts:467:30
|
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/
|
checks (18)
Failed to download action 'https://api.github.com/repos/pnpm/action-setup/tarball/eae0cfeb286e66ffb5155f1a79b90583a127a68b'. Error: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
|
checks (18)
Back off 13.988 seconds before retry.
|