diff options
author | F. Eugene Aumson <gene@aumson.org> | 2018-08-16 07:01:04 +0800 |
---|---|---|
committer | F. Eugene Aumson <gene@aumson.org> | 2018-08-16 07:01:04 +0800 |
commit | 20ac6936ac19b141723cc88f03acfeeb79b89958 (patch) | |
tree | cd72c90e8ece4ee571d6a15ffc17b3b238965f1c /packages/sol-compiler | |
parent | 976d159e5275fa1fc0236fdd65c3acf40864657b (diff) | |
download | dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar.gz dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar.bz2 dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar.lz dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar.xz dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.tar.zst dexon-sol-tools-20ac6936ac19b141723cc88f03acfeeb79b89958.zip |
change .rejectedWith(error) to .rejected()
Diffstat (limited to 'packages/sol-compiler')
-rw-r--r-- | packages/sol-compiler/test/compiler_test.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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'; |