Skip to content

Commit 9237f54

Browse files
Merge pull request #1287 from gemini-testing/INFRADUTY-30386.global_typings
fix: typings parsing in master thread
2 parents 7a6e29f + d92e40f commit 9237f54

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

src/globals.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,14 @@ function afterEachFunc(this: unknown, ...args: Parameters<GlobalAfterEachType>):
4848
return typedGlobals.afterEach.apply(this, args);
4949
}
5050

51-
const testplaneProxy = new Proxy(typedGlobals.testplane, {
52-
get(_, prop: keyof GlobalTestplaneType): GlobalTestplaneType[keyof GlobalTestplaneType] {
53-
return typedGlobals.testplane[prop];
51+
const testplaneProxy = new Proxy(
52+
{},
53+
{
54+
get(_, prop: keyof GlobalTestplaneType): GlobalTestplaneType[keyof GlobalTestplaneType] {
55+
return typedGlobals.testplane[prop];
56+
},
5457
},
55-
});
58+
);
5659

5760
export const it = itFunc as GlobalItType;
5861
export const describe = describeFunc as GlobalDescribeType;

0 commit comments

Comments
 (0)