Convert to TypeScript #21
Annotations
25 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 (20)
The job was canceled because "_18" failed.
|
vitest (20)
The operation was canceled.
|
vitest (22)
The job was canceled because "_18" failed.
|
vitest (22)
The operation was canceled.
|
eslint:
examples/convert_to_webp.js#L7
Unable to resolve path to module '../src/Transloadit'
|
eslint:
examples/convert_to_webp.js#L7
Missing file extension for "../src/Transloadit"
|
eslint:
examples/credentials.js#L8
Unable to resolve path to module '../src/Transloadit'
|
eslint:
examples/credentials.js#L8
Missing file extension for "../src/Transloadit"
|
eslint:
examples/face_detect_download.js#L14
Unable to resolve path to module '../src/Transloadit'
|
eslint:
examples/face_detect_download.js#L14
Missing file extension for "../src/Transloadit"
|
eslint:
examples/fetch_costs_of_all_assemblies_in_timeframe.js#L10
Unable to resolve path to module '../src/Transloadit'
|
eslint:
examples/fetch_costs_of_all_assemblies_in_timeframe.js#L10
Missing file extension for "../src/Transloadit"
|
eslint:
examples/rasterize_svg_to_png.js#L7
Unable to resolve path to module '../src/Transloadit'
|
eslint:
examples/rasterize_svg_to_png.js#L7
Missing file extension for "../src/Transloadit"
|
prettier
Process completed with exit code 1.
|