fix: use proper name convention for private method

This commit is contained in:
Stevan Freeborn 2024-02-26 23:05:48 -06:00
parent d1fa257ada
commit bd3dd9de1c

View file

@ -47,7 +47,7 @@ export class TestTracing {
this._tracesDir = path.join(this._artifactsDir, 'traces');
}
private shouldCaptureTrace() {
private _shouldCaptureTrace() {
let capture = false;
if (this._options?.mode === 'on') capture = true;
@ -71,7 +71,7 @@ export class TestTracing {
this._options = { ...defaultTraceOptions, ...value, mode: (mode as string) === 'retry-with-trace' ? 'on-first-retry' : mode };
}
if (this.shouldCaptureTrace() === false) {
if (this._shouldCaptureTrace() === false) {
this._options = undefined;
return;
}