mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
10 lines
213 B
JavaScript
10 lines
213 B
JavaScript
import defer * as ns from "./dep.cjs";
|
|
import sideChannel from "./side-channel.cjs";
|
|
|
|
expect(sideChannel.executed).toBe(false);
|
|
|
|
const val = ns.prop;
|
|
expect(val).toBe(3);
|
|
|
|
expect(sideChannel.executed).toBe(true);
|