MCPcopy
hub / github.com/webpack/webpack / test

Method test

test/cases/parsing/es2020/index.js:18–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16 static [`skey${!this ? a : false}`] = this.CLASS ? a : false;
17
18 test() {
19 expect(this.#field).toBe(42);
20 expect(this.field).toBe(42);
21 expect(this.#method()).toBe(42);
22 expect(this.method()).toBe(42);
23 expect(this.key42).toBe(42);
24 }
25
26 static stest() {
27 expect(Class.#sfield).toBe(42);

Callers 15

applyDefineMethod · 0.45
applyObjectDefineMethod · 0.45
processMethod · 0.45
usesFullHashWithDigestFunction · 0.45
checkIgnoreMethod · 0.45
buildMethod · 0.45
outputPathMethod · 0.45
ignoredMethod · 0.45
getGlobalObjectFunction · 0.45
parseStringFunction · 0.45

Calls 1

methodMethod · 0.45

Tested by

no test coverage detected