Skip to content

Commit 23c57c8

Browse files
committed
type script support
1 parent 3972dfe commit 23c57c8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/service.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ export default class LambdaRestService implements Services.ServiceInstance {
1818
private _suiteTitle?;
1919
private _testCnt;
2020
private _testTitle?;
21+
private _currrentTestTitle;
2122

2223
constructor(options: LTOptions & SessionNameOptions, capabilities: Capabilities.RemoteCapability, config: Options.Testrunner);
2324
before(caps: Capabilities.RemoteCapability, specs: string[], browser: Browser<'async'> | MultiRemoteBrowser<'async'>): Promise<void>;
@@ -54,9 +55,9 @@ export default class LambdaRestService implements Services.ServiceInstance {
5455
afterScenario(world: Frameworks.World, result: Frameworks.TestResult): void;
5556
after(result: number): Promise<void>;
5657
onReload(oldSessionId: string, newSessionId: string): Promise<void>;
57-
_update(sessionId: string, failures: number, calledOnReload?: boolean, browserName?: string): Promise<void>;
58-
updateJob(sessionId: string, failures: number, calledOnReload?: boolean, browserName?: string): Promise<void>;
59-
getBody(failures: number, calledOnReload?: boolean, browserName?: string): { name: string; status_ind: string; }
58+
_update(sessionId: string, fullTitle: string, status: string, failures: number, calledOnReload?: boolean, browserName?: string): Promise<void>;
59+
updateJob(sessionId: string, fullTitle: string, status: string, failures: number, calledOnReload?: boolean, browserName?: string): Promise<void>;
60+
getBody(fullTitle: string, status: string, failures: number, calledOnReload?: boolean, browserName?: string): { name: string; status_ind: string; }
6061
setSessionName(suiteTitle: string, test: Frameworks.Test): Promise<void>;
6162
_setSessionName(sessionName: string): Promise<void>;
6263
_executeCommand(cmd: string): Promise<void>;

0 commit comments

Comments
 (0)