follow chai_setup pattern

This commit is contained in:
F. Eugene Aumson
2018-08-15 15:20:00 -07:00
parent 455c78dfb1
commit 976d159e52
3 changed files with 16 additions and 2 deletions

View File

@@ -1,7 +1,6 @@
import { join } from 'path';
import * as chai from 'chai';
import * as chaiAsPromised from 'chai-as-promised';
import 'mocha';
import { Compiler } from '../src/compiler';
@@ -9,9 +8,10 @@ import { fsWrapper } from '../src/utils/fs_wrapper';
import { CompilerOptions, ContractArtifact } from '../src/utils/types';
import { exchange_binary } from './fixtures/exchange_bin';
import { chaiSetup } from './util/chai_setup';
import { constants } from './util/constants';
chai.use(chaiAsPromised);
chaiSetup.configure();
const expect = chai.expect;
describe('#Compiler', function(): void {