aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorF. Eugene Aumson <gene@aumson.org>2018-08-16 07:01:04 +0800
committerF. Eugene Aumson <gene@aumson.org>2018-08-16 07:01:04 +0800
commit20ac6936ac19b141723cc88f03acfeeb79b89958 (patch)
treecd72c90e8ece4ee571d6a15ffc17b3b238965f1c /packages
parent976d159e5275fa1fc0236fdd65c3acf40864657b (diff)
downloaddexon-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')
-rw-r--r--packages/sol-compiler/test/compiler_test.ts2
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';