blob: 4d9c774fd9e7a5c9d185924044e7a278ad733728 [file] [log] [blame]
import Cocoa from "./module-src-simple-cocoa.js";
var cocoa = new Cocoa();
debug("Module execution is confined in the module environment.");
shouldBeEqualToString("typeof cocoa", "undefined");
window.exportedCocoa = cocoa;
shouldBeEqualToString("typeof exportedCocoa", "object");
shouldBeEqualToString("exportedCocoa.taste()", "nice");
finishJSTest();