mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-09 21:35:58 +00:00
acd1d72f2d
Tests were exiting early and Mocha was reporting an exit code of 0. This allowed CI to complete as if the tests were successful. Change `compiler:contracts` event request to `compiler:contracts:compile` and update documentation. Because the `compiler:contracts` event didn’t exist, this test was silently failing. Update the `TestEvents` mock object to allow passing of parameters to an event that is not a callback. Add unit tests to test for contracts loaded via node_modules. 1. This PR contains a change where any contracts loaded from node_modules will be imported in to `.embark/contracts/node_modules`. Previously, these contracts were loaded in to `.embark/node_modules` (with the `/contracts`).
1.7 KiB
1.7 KiB
embark-compiler
Embark compiler module
Abstracts the compiler interface and exposes a plugin api to register contract extensions and how to handle them. It accepts command requests to compile and returns the aggregated compilation result.
API
command: compiler:contracts:compile
arguments:
contractFiles
-options
-