chai/test/globalShould.js
Jake Luer a8f94bdcbb test: [karma] use karma phantomjs runner
- tests refactored as bdd instead of tdd
- removed test/browser bootstraps
- add karma-runner
2013-09-17 17:22:36 -04:00

15 lines
319 B
JavaScript

describe('global should', function () {
it('works', function () {
var theGlobal = typeof window !== 'undefined'
? window
: global;
theGlobal.globalShould = chai.should();
try {
globalShould.not.exist(undefined);
} finally {
delete theGlobal.globalShould;
}
});
});