Files
cell/tests/test_module.ce

15 lines
357 B
Plaintext

// Test module - should NOT have access to $_
function test() {
if (typeof $_ !== 'undefined') {
log.error("✗ Module incorrectly has access to $_!");
return "ERROR: Module has $_ access";
} else {
log.console("✓ Module correctly does NOT have access to $_");
return "Module loaded without $_ access";
}
}
return {
test: test
};