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 454713f commit b8fa5ceCopy full SHA for b8fa5ce
src/transformer/scope/scope.ts
@@ -10,10 +10,6 @@ export class Scope {
10
private readonly _currentMockKey: string | undefined;
11
private _boundFor: Set<string>;
12
13
- private _appendConstructorMarker(): string {
14
- return this._boundFor !== undefined ? '_C' : '';
15
- }
16
-
17
public bindFor(key: string): this {
18
this._boundFor.add(key);
19
@@ -25,10 +21,6 @@ export class Scope {
25
21
}
26
22
27
23
public get currentMockKey(): string | undefined {
28
- if (this._currentMockKey === undefined) {
29
- return;
30
31
32
- return this._currentMockKey + this._appendConstructorMarker();
24
+ return this._currentMockKey;
33
34
0 commit comments