Sha256: 31fa6f20c2fbb78ff19ae24d54475911fd0adc87856476afd0933746a4e5c6a9

Contents?: true

Size: 319 Bytes

Versions: 8

Compression:

Stored size: 319 Bytes

Contents

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;
    }
  });
});

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
ende-0.5.22 components/indefinido/indemma/master/components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.21 components/indefinido/indemma/master/components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.6 components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.5 components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.4 components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.3 components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.2 components/chaijs/chai/1.9.1/test/globalShould.js
ende-0.5.1 components/chaijs/chai/1.9.1/test/globalShould.js