Skip to content

Commit 5c90570

Browse files
committed
test(integration): pin prototype-method-resolution test to WASM engine
The test was using auto engine (native-preferred), causing it to pick the published npm native binary which predates the prototype-method fixes. WASM correctly extracts Dog.prototype.bark and resolves all call edges. Fixes #1381
1 parent f367fbd commit 5c90570

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/prototype-method-resolution.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ beforeAll(async () => {
4848
for (const [rel, content] of Object.entries(FIXTURE)) {
4949
fs.writeFileSync(path.join(tmpDir, rel), content);
5050
}
51-
await buildGraph(tmpDir, { incremental: false, skipRegistry: true });
51+
await buildGraph(tmpDir, { incremental: false, skipRegistry: true, engine: 'wasm' });
5252
});
5353

5454
afterAll(() => {

0 commit comments

Comments
 (0)