UNPKG

remix-ide

Version:

Minimalistic browser-based Solidity IDE

17 lines (12 loc) 397 B
'use strict' var test = require('tape') var Compiler = require('remix-solidity').Compiler test('compiler.compile smoke', function (t) { t.plan(1) var noop = function () {} var fakeImport = function (url, cb) { cb('Not implemented') } var compiler = new Compiler(fakeImport) compiler.setCompileJSON(noop) compiler.compile({ 'test': '' }, 'test') t.ok(compiler) })