Skip to content

feat: implement REPL interface to debug tests #816

feat: implement REPL interface to debug tests

feat: implement REPL interface to debug tests #816

Triggered via pull request December 19, 2023 09:20
Status Failure
Total duration 59s
Artifacts

node.js.yml

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

Annotations

20 errors and 2 warnings
build (20.x): test/src/browser/commands/switchToRepl.ts#L14
'sinon' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (20.x): test/src/browser/commands/switchToRepl.ts#L17
Property 'resolves' does not exist on type '(attachOptions: AttachOptions) => Promise<Browser>'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L36
Property 'switchToRepl' does not exist on type '{ sessionId: string; isW3C: boolean; options: {}; capabilities: {}; commandList: any[]; executionContext: { ctx: { currentTest: { file: string; }; }; }; deleteSession: any; url: any; getUrl: any; execute: any; ... 16 more ...; overwriteCommand: SinonStub; }'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L58
'sinon' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (20.x): test/src/browser/commands/switchToRepl.ts#L62
Property 'returns' does not exist on type '() => any'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L68
Property 'switchToRepl' does not exist on type '{ sessionId: string; isW3C: boolean; options: {}; capabilities: {}; commandList: any[]; executionContext: { ctx: { currentTest: { file: string; }; }; }; deleteSession: any; url: any; getUrl: any; execute: any; ... 16 more ...; overwriteCommand: SinonStub; }'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L70
'e' is of type 'unknown'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L76
Property 'returns' does not exist on type '() => any'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L86
Property 'withArgs' does not exist on type '(...args: any[]) => void'.
build (20.x): test/src/browser/commands/switchToRepl.ts#L87
Argument of type '(options?: string | ReplOptions | undefined) => REPLServer' is not assignable to parameter of type 'SinonSpy'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L14
'sinon' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (18.x): test/src/browser/commands/switchToRepl.ts#L17
Property 'resolves' does not exist on type '(attachOptions: AttachOptions) => Promise<Browser>'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L36
Property 'switchToRepl' does not exist on type '{ sessionId: string; isW3C: boolean; options: {}; capabilities: {}; commandList: any[]; executionContext: { ctx: { currentTest: { file: string; }; }; }; deleteSession: any; url: any; getUrl: any; execute: any; ... 16 more ...; overwriteCommand: SinonStub; }'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L58
'sinon' refers to a UMD global, but the current file is a module. Consider adding an import instead.
build (18.x): test/src/browser/commands/switchToRepl.ts#L62
Property 'returns' does not exist on type '() => any'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L68
Property 'switchToRepl' does not exist on type '{ sessionId: string; isW3C: boolean; options: {}; capabilities: {}; commandList: any[]; executionContext: { ctx: { currentTest: { file: string; }; }; }; deleteSession: any; url: any; getUrl: any; execute: any; ... 16 more ...; overwriteCommand: SinonStub; }'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L70
'e' is of type 'unknown'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L76
Property 'returns' does not exist on type '() => any'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L86
Property 'withArgs' does not exist on type '(...args: any[]) => void'.
build (18.x): test/src/browser/commands/switchToRepl.ts#L87
Argument of type '(options?: string | ReplOptions | undefined) => REPLServer' is not assignable to parameter of type 'SinonSpy'.
build (20.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/