Skip to main content
Module

x/chai/test/globalShould.js

BDD / TDD assertion framework for node.js and the browser that can be paired with any testing framework.
Go to Latest
File
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; } });});