-1:000000000000 | 0:f781cc840780 |
---|---|
1 let testVar; | |
2 | |
3 registerCleanupFunction(function() { | |
4 ok(true, "I'm a cleanup function in test file"); | |
5 is(this.testVar, "I'm a var in test file", "Test cleanup function scope is correct"); | |
6 }); | |
7 | |
8 function test() { | |
9 is(headVar, "I'm a var in head file", "Head variables are set"); | |
10 ok(headMethod(), "Head methods are imported"); | |
11 testVar = "I'm a var in test file"; | |
12 } |