Skip to content

suite_runner: improve error handling #81

suite_runner: improve error handling

suite_runner: improve error handling #81

Triggered via pull request December 14, 2023 04:21
Status Failure
Total duration 27s
Artifacts

node.js.yml

on: pull_request
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

21 errors
build (mocha): src/fakes/fake_process_like.ts#L8
Class 'FakeProcess<T>' incorrectly implements interface 'ProcessLike'.
build (mocha): src/test/test_reporter_api.ts#L447
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (mocha): src/test/test_soft_kill.ts#L27
Argument of type 'FakeProcess<Message>' is not assignable to parameter of type 'ProcessLike'.
build (mocha): src/test/test_soft_kill.ts#L42
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (mocha): src/test/test_soft_kill.ts#L51
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (mocha): src/test/test_soft_kill.ts#L64
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (mocha): src/test/test_soft_kill.ts#L76
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (mocha): src/test/test_suite_runner.ts#L627
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (mocha): src/test/test_suite_runner.ts#L659
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (mocha): src/test/test_suite_runner.ts#L694
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (overman)
The job was canceled because "mocha" failed.
build (overman): src/fakes/fake_process_like.ts#L8
Class 'FakeProcess<T>' incorrectly implements interface 'ProcessLike'.
build (overman): src/test/test_reporter_api.ts#L447
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (overman): src/test/test_soft_kill.ts#L27
Argument of type 'FakeProcess<Message>' is not assignable to parameter of type 'ProcessLike'.
build (overman): src/test/test_soft_kill.ts#L42
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (overman): src/test/test_soft_kill.ts#L51
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (overman): src/test/test_soft_kill.ts#L64
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (overman): src/test/test_soft_kill.ts#L76
Argument of type 'FakeProcess<Serializable>' is not assignable to parameter of type 'ProcessLike'.
build (overman): src/test/test_suite_runner.ts#L627
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (overman): src/test/test_suite_runner.ts#L659
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.
build (overman): src/test/test_suite_runner.ts#L694
Type '() => Child' is not assignable to type '(modulePath: string, args?: readonly string[] | undefined, options?: ForkOptions | undefined) => ProcessLike'.