aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/test
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 21:26:24 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-03-22 21:26:24 +0800
commit7ef6bd4b14b7502617c6929010d4a9991e1d577d (patch)
tree12c8cf95e22bcd750b220aaac1531ef99f2e4301 /packages/deployer/test
parente476682922ac57e268cf3bb7b3f46f8fba47497d (diff)
downloaddexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar.gz
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar.bz2
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar.lz
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar.xz
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.tar.zst
dexon-sol-tools-7ef6bd4b14b7502617c6929010d4a9991e1d577d.zip
Set timeout for compiler tests
Diffstat (limited to 'packages/deployer/test')
-rw-r--r--packages/deployer/test/compiler_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/deployer/test/compiler_test.ts b/packages/deployer/test/compiler_test.ts
index 1c4d3c697..b03ae7935 100644
--- a/packages/deployer/test/compiler_test.ts
+++ b/packages/deployer/test/compiler_test.ts
@@ -10,7 +10,8 @@ import { constants } from './util/constants';
const expect = chai.expect;
-describe('#Compiler', () => {
+describe('#Compiler', function() {
+ this.timeout(constants.timeoutMs);
const artifactsDir = `${__dirname}/fixtures/artifacts`;
const contractsDir = `${__dirname}/fixtures/contracts`;
const exchangeArtifactPath = `${artifactsDir}/Exchange.json`;
@@ -22,8 +23,7 @@ describe('#Compiler', () => {
specifiedContracts: new Set(constants.specifiedContracts),
};
const compiler = new Compiler(compilerOpts);
- beforeEach(function(done: DoneCallback) {
- this.timeout(constants.timeoutMs);
+ beforeEach((done: DoneCallback) => {
(async () => {
if (fsWrapper.doesPathExistSync(exchangeArtifactPath)) {
await fsWrapper.removeFileAsync(exchangeArtifactPath);