update tests

This commit is contained in:
Iuri Matias 2017-12-15 17:38:02 -05:00
parent d42a34b342
commit e8ebb0fb37
2 changed files with 3 additions and 1 deletions

View File

@ -10,7 +10,7 @@ let readFile = function(file) {
};
describe('embark.Compiler', function() {
let compiler = new Compiler({logger: new TestLogger({}), solcVersion: '0.4.17'});
let compiler = new Compiler({logger: new TestLogger({}), solcVersion: '0.4.17', contractDirectories: ['app/contracts/']});
describe('#compile_solidity', function() {
this.timeout(0);

View File

@ -17,6 +17,7 @@ describe('embark.Contratcs', function() {
readFile('test/contracts/simple_storage.sol'),
readFile('test/contracts/token.sol')
],
contractDirectories: ['app/contracts'],
contractsConfig: {
"versions": {
"web3.js": "1.0.0-beta",
@ -89,6 +90,7 @@ describe('embark.Contratcs', function() {
readFile('test/contracts/simple_storage.sol'),
readFile('test/contracts/token_storage.sol')
],
contractDirectories: ['app/contracts'],
contractsConfig: {
"versions": {
"web3.js": "1.0.0-beta",