mirror of https://github.com/embarklabs/embark.git
move tests related files to their own folder
This commit is contained in:
parent
f35718b6c0
commit
10c4c75236
|
@ -185,7 +185,7 @@ class Embark {
|
|||
}
|
||||
|
||||
initTests(options) {
|
||||
let Test = require('./core/test.js');
|
||||
let Test = require('./tests/test.js');
|
||||
return new Test(options);
|
||||
}
|
||||
|
||||
|
@ -221,7 +221,7 @@ class Embark {
|
|||
}
|
||||
|
||||
runTests(file) {
|
||||
let RunTests = require('./core/run_tests.js');
|
||||
let RunTests = require('./tests/run_tests.js');
|
||||
RunTests.run(file);
|
||||
}
|
||||
|
||||
|
@ -229,7 +229,7 @@ class Embark {
|
|||
|
||||
// temporary until next refactor
|
||||
Embark.initTests = function(options) {
|
||||
let Test = require('./core/test.js');
|
||||
let Test = require('./tests/test.js');
|
||||
return new Test(options);
|
||||
};
|
||||
|
||||
|
|
|
@ -1,10 +1,8 @@
|
|||
var async = require('async');
|
||||
//require("../utils/debug_util.js")(__filename, async);
|
||||
var Web3 = require('web3');
|
||||
|
||||
var Engine = require('./engine.js');
|
||||
|
||||
var RunCode = require('./runCode.js');
|
||||
var Engine = require('../core/engine.js');
|
||||
var RunCode = require('../core/runCode.js');
|
||||
var TestLogger = require('./test_logger.js');
|
||||
|
||||
var getSimulator = function() {
|
|
@ -1,7 +1,7 @@
|
|||
/*globals describe, it*/
|
||||
let Compiler = require('../lib/contracts/compiler.js');
|
||||
let SolidityCompiler = require('../lib/modules/solidity');
|
||||
let TestLogger = require('../lib/core/test_logger.js');
|
||||
let TestLogger = require('../lib/tests/test_logger.js');
|
||||
let File = require('../lib/core/file.js');
|
||||
let assert = require('assert');
|
||||
let fs = require('fs');
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
let ContractsManager = require('../lib/contracts/contracts.js');
|
||||
let Logger = require('../lib/core/logger.js');
|
||||
let File = require('../lib/core/file.js');
|
||||
let TestLogger = require('../lib/core/test_logger.js');
|
||||
let TestLogger = require('../lib/tests/test_logger.js');
|
||||
let assert = require('assert');
|
||||
let fs = require('fs');
|
||||
|
||||
|
|
Loading…
Reference in New Issue