change .rejectedWith(error) to .rejected()

This commit is contained in:
F. Eugene Aumson
2018-08-15 16:01:04 -07:00
parent 976d159e52
commit 20ac6936ac

View File

@@ -59,7 +59,7 @@ describe('#Compiler', function(): void {
compilerOpts.contracts = [contract];
const compiler = new Compiler(compilerOpts);
expect(compiler.compileAsync()).to.be.rejectedWith(Error);
expect(compiler.compileAsync()).to.be.rejected();
});
describe('after a successful compilation', () => {
const contract = 'Exchange';