From 20ac6936ac19b141723cc88f03acfeeb79b89958 Mon Sep 17 00:00:00 2001 From: "F. Eugene Aumson" Date: Wed, 15 Aug 2018 16:01:04 -0700 Subject: change .rejectedWith(error) to .rejected() --- packages/sol-compiler/test/compiler_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/sol-compiler/test') diff --git a/packages/sol-compiler/test/compiler_test.ts b/packages/sol-compiler/test/compiler_test.ts index 4be77c01b..08799c14b 100644 --- a/packages/sol-compiler/test/compiler_test.ts +++ b/packages/sol-compiler/test/compiler_test.ts @@ -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'; -- cgit