atcheck/lsscanner/new_ubuntu/node_modules/spawn-rx/test/support.ts

15 lines
391 B
TypeScript
Raw Normal View History

2019-12-16 18:42:21 +01:00
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
declare const global: any;
chai.should();
chai.use(chaiAsPromised);
global.chai = chai;
global.chaiAsPromised = chaiAsPromised;
global.expect = chai.expect;
global.AssertionError = chai.AssertionError;
global.assert = chai.assert;
global.Assertion = (chai as any).Assertion; //'Assertion' is not existing?