fix(docs): typo in api-reference/client (#1126) #5151
ci.yaml
on: push
Matrix: analyze-bundle
bundle-analyze-result
0s
Annotations
8 errors and 4 warnings
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should upload a file:
packages/uploadthing/test/sdk.live.test.ts#L64
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { Object (data, error) }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89Ig10wfvpDF2nTVM1OkALHPC7zNJKSgq3YbQ6m",
"customId": null,
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": 1736541780813,
"name": "foo.txt",
"size": 3,
"type": "text/plain",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89Ig10wfvpDF2nTVM1OkALHPC7zNJKSgq3YbQ6m",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:64:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should upload a private file:
packages/uploadthing/test/sdk.live.test.ts#L99
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { Object (data, error) }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89I87MBlsZWFiAMIPdTQRqbYyKSjV9U4zhcalL1",
"customId": null,
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": 1736541783399,
"name": "foo.txt",
"size": 3,
"type": "text/plain",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89I87MBlsZWFiAMIPdTQRqbYyKSjV9U4zhcalL1",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:99:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should upload a file from a url:
packages/uploadthing/test/sdk.live.test.ts#L129
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { Object (data, error) }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IaLAsmmDBFgnWez4rqkHEVGPhb0sCfNOyQUjZ",
"customId": null,
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": Any<Number>,
"name": "favicon.ico",
"size": Any<Number>,
"type": "image/vnd.microsoft.icon",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IaLAsmmDBFgnWez4rqkHEVGPhb0sCfNOyQUjZ",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:129:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should rename a file with fileKey:
packages/uploadthing/test/sdk.live.test.ts#L152
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { Object (data, error) }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89INVDNp1auf9W1zAX4dnGIJywloj3qi780TYgP",
"customId": null,
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": Any<Number>,
"name": "bar.txt",
"size": 3,
"type": "text/plain",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89INVDNp1auf9W1zAX4dnGIJywloj3qi780TYgP",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:152:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should rename a file with customId:
packages/uploadthing/test/sdk.live.test.ts#L195
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { data: { …(9) }, error: null }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IL0bWMyNGAydj416NmYoMHKPV7qZ8p3nazBXT",
"customId": "dcf66f60-73eb-40cd-95b9-09f03a0d4e69",
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": 1736541789519,
"name": "bar.txt",
"size": 3,
"type": "text/plain",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IL0bWMyNGAydj416NmYoMHKPV7qZ8p3nazBXT",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:195:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should update ACL:
packages/uploadthing/test/sdk.live.test.ts#L236
AssertionError: expected { data: { …(9) }, error: null } to deeply equal { Object (data, error) }
- Expected
+ Received
Object {
"data": Object {
- "appUrl": StringMatching /^https:\/\/utfs.io\/a\/fr0hfwpst1\/.+$/,
+ "appUrl": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IL5Oi0INGAydj416NmYoMHKPV7qZ8p3nazBXT",
"customId": null,
"fileHash": Any<String>,
"key": StringMatching /.+/,
"lastModified": 1736541791541,
"name": "foo.txt",
"size": 3,
"type": "text/plain",
- "url": StringMatching /^https:\/\/utfs.io\/f\/.+$/,
+ "url": "https://fr0hfwpst1.ufs.sh/f/zIptSc0cA89IL5Oi0INGAydj416NmYoMHKPV7qZ8p3nazBXT",
},
"error": null,
}
❯ packages/uploadthing/test/sdk.live.test.ts:236:22
|
packages/uploadthing/test/sdk.live.test.ts > smoke test with live api > should have correct usage info:
packages/uploadthing/test/sdk.live.test.ts#L282
AssertionError: expected GetUsageInfoResponse{ …(4) } to deeply equal { totalBytes: -3, …(3) }
- Expected
+ Received
- Object {
- "appTotalBytes": -3,
- "filesUploaded": -1,
+ GetUsageInfoResponse {
+ "appTotalBytes": 15418,
+ "filesUploaded": 5,
"limitBytes": 2147483648,
- "totalBytes": -3,
+ "totalBytes": 15418,
}
❯ packages/uploadthing/test/sdk.live.test.ts:282:25
|
build
Process completed with exit code 1.
|
format
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
typecheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|