embark-area-51/test_apps/coverage_app/test/events_spec.js

17 lines
310 B
JavaScript
Raw Normal View History

2018-08-21 20:23:00 +00:00
/*global contract, config, it, assert*/
const Events = require('Embark/contracts/Events');
config({
contracts: {
"Events": {
args: [100]
}
}
});
contract("Events", function() {
it("should deposit", function(done) {
Events.methods.deposit(10).send().then(() => { done(); });
});
});