Combined test now testing for Interface export
parent
8f60441067
commit
e822bc8840
|
@ -68,17 +68,18 @@ while ( i-- )
|
||||||
"exports are not in the global scope"
|
"exports are not in the global scope"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
assert.ok(
|
assert.ok(
|
||||||
( sandbox.easejs !== undefined ),
|
( sandbox.easejs !== undefined ),
|
||||||
"'easejs' namespace is defined within combined file"
|
"'easejs' namespace is defined within combined file"
|
||||||
);
|
);
|
||||||
|
|
||||||
|
[ 'Class', 'Interface' ].forEach( function( item )
|
||||||
|
{
|
||||||
assert.ok(
|
assert.ok(
|
||||||
( sandbox.easejs.Class !== undefined ),
|
sandbox.easejs[ item ],
|
||||||
"easejs namespace contains class exports"
|
"Combined file exports exposes " + item
|
||||||
);
|
);
|
||||||
|
} );
|
||||||
|
|
||||||
// the full file has tests included to be run client-side
|
// the full file has tests included to be run client-side
|
||||||
if ( file === 'ease-full.js' )
|
if ( file === 'ease-full.js' )
|
||||||
|
|
Loading…
Reference in New Issue