Convert to TypeScript #23
Annotations
12 errors
test/unit/mock-http.test.ts > Mocked API tests > should time out createAssembly with a custom timeout:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:32:25
|
test/unit/mock-http.test.ts > Mocked API tests > should handle aborted correctly:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:68:18
|
test/unit/mock-http.test.ts > Mocked API tests > should fail on error with error code:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:99:25
|
test/unit/mock-http.test.ts > Mocked API tests > should return assemblyId and response.body in Error:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:116:25
|
test/unit/mock-http.test.ts > Mocked API tests > should retry correctly on RATE_LIMIT_REACHED:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:139:18
|
test/unit/mock-http.test.ts > Mocked API tests > should not retry on RATE_LIMIT_REACHED if maxRetries is 0:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:154:25
|
test/unit/mock-http.test.ts > Mocked API tests > should throw error with response.body createAssembly when server returns 200 with error in response:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/mock-http.test.ts:236:25
|
test/unit/test-transloadit-client.test.ts > Transloadit > should throw a proper error for request stream:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/test-transloadit-client.test.ts:32:28
|
test/unit/test-transloadit-client.test.ts > Transloadit > add stream > should pause streams:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/test-transloadit-client.test.ts:144:20
|
test/unit/test-transloadit-client.test.ts > Transloadit > should set 1 day timeout by default for createAssembly:
src/Transloadit.ts#L186
ReferenceError: crypto is not defined
❯ TransloaditClient.createAssembly src/Transloadit.ts:186:7
❯ test/unit/test-transloadit-client.test.ts:281:18
|
vitest (22)
The job was canceled because "_18" failed.
|
vitest (20)
The job was canceled because "_18" failed.
|