1
0
Fork 0

Combined test now testing for Interface export

closure/master
Mike Gerwitz 2011-01-09 02:00:36 -05:00
parent 8f60441067
commit e822bc8840
1 changed files with 7 additions and 6 deletions

View File

@ -68,17 +68,18 @@ while ( i-- )
"exports are not in the global scope"
);
assert.ok(
( sandbox.easejs !== undefined ),
"'easejs' namespace is defined within combined file"
);
[ 'Class', 'Interface' ].forEach( function( item )
{
assert.ok(
( sandbox.easejs.Class !== undefined ),
"easejs namespace contains class exports"
sandbox.easejs[ item ],
"Combined file exports exposes " + item
);
} );
// the full file has tests included to be run client-side
if ( file === 'ease-full.js' )