Refactor the SDK to use the new HTTP event tracker #1461
Annotations
12 errors and 4 warnings
validate:
test/channel/guaranteedChannel.test.ts#L57
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/guaranteedChannel.test.ts#L68
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/guaranteedChannel.test.ts#L83
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/httpBeaconChannel.test.ts#L162
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/httpBeaconChannel.test.ts#L213
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/httpBeaconChannel.test.ts#L264
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/httpBeaconChannel.test.ts#L337
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/queuedChannel.test.ts#L14
Constructor of class 'MessageDeliveryError' is private and only accessible within the class declaration.
|
validate:
test/channel/queuedChannel.test.ts#L94
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
validate:
test/channel/queuedChannel.test.ts#L107
Argument of type 'typeof MessageDeliveryError' is not assignable to parameter of type '(new (...args: any[]) => { message: string; }) | (abstract new (...args: any[]) => { message: string; }) | ((...args: any[]) => { message: string; })'.
|
test
The process '/opt/hostedtoolcache/node/20.16.0/x64/bin/npm' failed with exit code 1
|
test
🚨 Coverage run failed!
|
lint:
src/logging/consoleLogger.ts#L15
Unexpected console statement
|
lint:
src/logging/consoleLogger.ts#L19
Unexpected console statement
|
lint:
src/logging/consoleLogger.ts#L23
Unexpected console statement
|
lint:
src/logging/consoleLogger.ts#L27
Unexpected console statement
|