feat: implement REPL interface to debug tests #816
Annotations
10 errors and 1 warning
Run npm test --coverage:
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.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L17
Property 'resolves' does not exist on type '(attachOptions: AttachOptions) => Promise<Browser>'.
|
Run npm test --coverage:
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; }'.
|
Run npm test --coverage:
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.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L62
Property 'returns' does not exist on type '() => any'.
|
Run npm test --coverage:
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; }'.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L70
'e' is of type 'unknown'.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L76
Property 'returns' does not exist on type '() => any'.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L86
Property 'withArgs' does not exist on type '(...args: any[]) => void'.
|
Run npm test --coverage:
test/src/browser/commands/switchToRepl.ts#L87
Argument of type '(options?: string | ReplOptions | undefined) => REPLServer' is not assignable to parameter of type 'SinonSpy'.
|
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/
|
The logs for this run have expired and are no longer available.
Loading