We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2971438 commit 459b762Copy full SHA for 459b762
packages/playwright-core/src/server/instrumentation.ts
@@ -37,8 +37,6 @@ export type Attribution = {
37
import type { CallMetadata } from '@protocol/callMetadata';
38
export type { CallMetadata } from '@protocol/callMetadata';
39
40
-export const kTestSdkObjects = new WeakSet<SdkObject>();
41
-
42
export class SdkObject extends EventEmitter {
43
guid: string;
44
attribution: Attribution;
@@ -50,8 +48,6 @@ export class SdkObject extends EventEmitter {
50
48
this.setMaxListeners(0);
51
49
this.attribution = { ...parent.attribution };
52
this.instrumentation = parent.instrumentation;
53
- if (process.env._PW_INTERNAL_COUNT_SDK_OBJECTS)
54
- kTestSdkObjects.add(this);
55
}
56
57
0 commit comments