Fix the undefined opts bug

This commit is contained in:
Leonid Logvinov
2019-02-07 12:30:54 +01:00
parent 7e19c944b9
commit c20285dd36
3 changed files with 9 additions and 2 deletions

View File

@@ -23,6 +23,9 @@ describe('#Compiler', function(): void {
contractsDir,
contracts: constants.contracts,
};
it('should create a Compiler with empty opts', async () => {
const _compiler = new Compiler();
});
it('should create an Exchange artifact with the correct unlinked binary', async () => {
compilerOpts.contracts = ['Exchange'];