fixes chai-things import issues (#24975)

This commit is contained in:
Kajan Nallathamby
2018-04-13 10:22:22 -07:00
committed by Mohamed Hegazy
parent 1a8b08d6d9
commit 5e03bfd6b0
2 changed files with 3 additions and 3 deletions
+2 -3
View File
@@ -1,8 +1,7 @@
import chai = require('chai');
import chaiThings = require('chai-things');
import * as chai from 'chai';
import * as chaiThings from 'chai-things';
chai.use(chaiThings);
function test_somethingSyntax() {
+1
View File
@@ -60,5 +60,6 @@ interface Array<T> {
declare module "chai-things" {
function chaiThings(chai: any, utils: any): void;
namespace chaiThings { }
export = chaiThings;
}