michael@0: let headVar = "I'm a var in head file"; michael@0: michael@0: function headMethod() { michael@0: return true; michael@0: }; michael@0: michael@0: ok(true, "I'm a test in head file"); michael@0: michael@0: registerCleanupFunction(function() { michael@0: ok(true, "I'm a cleanup function in head file"); michael@0: is(this.headVar, "I'm a var in head file", "Head cleanup function scope is correct"); michael@0: });