Skip to content

Update dependency fetch-mock to v12 #1525

Update dependency fetch-mock to v12

Update dependency fetch-mock to v12 #1525

Triggered via pull request October 25, 2024 00:16
Status Failure
Total duration 53s
Artifacts

branch-validations.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

12 errors
test
The process '/opt/hostedtoolcache/node/20.18.0/x64/bin/npm' failed with exit code 1
test
🚨 Coverage run failed!
validate: test/channel/httpBeaconChannel.test.ts#L12
Property 'reset' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L33
Property 'mock' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L71
Property 'calls' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L75
Namespace '"/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index"' has no exported member 'MockCall'.
validate: test/channel/httpBeaconChannel.test.ts#L76
Namespace '"/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index"' has no exported member 'MockRequest'.
validate: test/channel/httpBeaconChannel.test.ts#L98
Property 'mock' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L127
Property 'lastCall' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L127
Namespace '"/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index"' has no exported member 'MockRequest'.
validate: test/channel/httpBeaconChannel.test.ts#L135
Property 'mock' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.
validate: test/channel/httpBeaconChannel.test.ts#L206
Property 'mock' does not exist on type 'typeof import("/home/runner/work/sdk-js/sdk-js/node_modules/fetch-mock/dist/esm/index")'.