mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-08 21:34:55 +00:00
update tests
This commit is contained in:
parent
93a9a3065f
commit
999a260c24
@ -1,5 +1,5 @@
|
|||||||
/*globals describe, it*/
|
/*globals describe, it*/
|
||||||
let CodeGenerator = require('../lib/contracts/code_generator.js');
|
let CodeGenerator = require('../lib/modules/code_generator');
|
||||||
let assert = require('assert');
|
let assert = require('assert');
|
||||||
|
|
||||||
function replaceCRLF(string) {
|
function replaceCRLF(string) {
|
||||||
@ -29,7 +29,14 @@ describe('embark.CodeGenerator', function() {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|
||||||
let generator = new CodeGenerator({blockchainConfig: {}});
|
const TestEvents = {
|
||||||
|
request: (cmd, cb) => {
|
||||||
|
cb(currentSolcVersion);
|
||||||
|
},
|
||||||
|
setCommandHandler: () => {
|
||||||
|
}
|
||||||
|
};
|
||||||
|
let generator = new CodeGenerator({config: {blockchainConfig: {}}, events: TestEvents}, {});
|
||||||
|
|
||||||
describe('with EmbarkJS', function() {
|
describe('with EmbarkJS', function() {
|
||||||
let withEmbarkJS = true;
|
let withEmbarkJS = true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user