webpack/test/cases/optimize/side-effects-scope-hoisting/index.js

9 lines
192 B
JavaScript

import { a } from "pmodule";
it("should not crash with null id", function() {
expect(a).toBe("a");
});
if(Math === undefined)
console.log(module); // prevent scope hoisting of this module