blob: 6cceeb8a0dce391fb3548132372fa2d2004b0fe8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
var global = this;
exports.testGlobals = function(test) {
test.assertMatches(global.__url__, /test-globals\.js$/,
"__url__ global should contain filename");
['console', 'memory'].forEach(
function(name) {
test.assertNotEqual(global[name], undefined,
name + " should be defined");
});
};
|