tia
Version:
Time is All (logs driven test engine with ExtJs support)
10 lines (7 loc) • 334 B
JavaScript
const { t, a } = gT;
t.setTitle('Checking that all global variables are exist and correct.');
a.true(typeof gT !== 'undefined', 'gT exists');
a.true(typeof gIn !== 'undefined', 'gIn exists');
a.true('config' in gT, 'gT.config exists');
a.true('tInfo' in gIn, 'gIn.tInfo exists');
a.true(gIn.tInfo.getData(), 'gIn.tInfo.getData()');