aboutsummaryrefslogtreecommitdiffstats
path: root/packages/deployer/test
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-04-02 03:28:29 +0800
committerFabio Berger <me@fabioberger.com>2018-04-02 03:28:29 +0800
commitc6f85464ced3cecb2a4a5b3b79a19b6fd56c8a58 (patch)
treec5dbda13f35991df12dbc3bc36d9a985f3b6777e /packages/deployer/test
parent0e33f45f3dbf7934692e3baa3daa90ddab0c184f (diff)
parenta220b56736bcacfcce045329c99091af5932e723 (diff)
downloaddexon-0x-contracts-c6f85464ced3cecb2a4a5b3b79a19b6fd56c8a58.tar.gz
dexon-0x-contracts-c6f85464ced3cecb2a4a5b3b79a19b6fd56c8a58.tar.zst
dexon-0x-contracts-c6f85464ced3cecb2a4a5b3b79a19b6fd56c8a58.zip
Merge branch 'development' into refactor/publishProcess
* development: Run prettier, update deployer CHANGELOG Create solc_bin dir if does not exist before attempting to compile Add missing type import
Diffstat (limited to 'packages/deployer/test')
-rw-r--r--packages/deployer/test/compiler_utils_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/deployer/test/compiler_utils_test.ts b/packages/deployer/test/compiler_utils_test.ts
index 1867177dc..246304858 100644
--- a/packages/deployer/test/compiler_utils_test.ts
+++ b/packages/deployer/test/compiler_utils_test.ts
@@ -3,7 +3,7 @@ import * as dirtyChai from 'dirty-chai';
import 'mocha';
import {
- createArtifactsDirIfDoesNotExistAsync,
+ createDirIfDoesNotExistAsync,
getNormalizedErrMsg,
parseDependencies,
parseSolidityVersionRange,
@@ -21,11 +21,11 @@ describe('Compiler utils', () => {
expect(normalizedErrMsg).to.be.equal('Token.sol:6:46: Warning: Unused local variable');
});
});
- describe('#createArtifactsDirIfDoesNotExistAsync', () => {
+ describe('#createDirIfDoesNotExistAsync', () => {
it('creates artifacts dir', async () => {
const artifactsDir = `${__dirname}/artifacts`;
expect(fsWrapper.doesPathExistSync(artifactsDir)).to.be.false();
- await createArtifactsDirIfDoesNotExistAsync(artifactsDir);
+ await createDirIfDoesNotExistAsync(artifactsDir);
expect(fsWrapper.doesPathExistSync(artifactsDir)).to.be.true();
fsWrapper.rmdirSync(artifactsDir);
expect(fsWrapper.doesPathExistSync(artifactsDir)).to.be.false();