balena-cli/lib
Lucian 4d389bb6cc Implement full command testing, beginning with "balena version"
This also modifies the core CLI to be fed command programatically, which
is useful for being able to do thing like mock endpoints with tools like
"nock", and provide an easier debugging experience.
The tests utilise a "runCommand" helper that intercepts and captures
stdout/stderr writes and returns them once the command has finished
running. At this point the test implementation can parse the
stdout/stderr logs and assess nock interceptions to determine if the
command ran correctly.
This change also homogenises debug messages to start with `[debug]`,
however this is not strictly enforced by linting rules.

Change-type: minor
Signed-off-by: Lucian <lucian.buzzo@gmail.com>
2019-08-12 14:50:41 +01:00
..
actions Fix bug where "env rm" fails silently if an additional arg is present 2019-08-12 13:47:31 +01:00
actions-oclif Fix bug where "env rm" fails silently if an additional arg is present 2019-08-12 13:47:31 +01:00
auth Rename everything from 'resin' to 'balena' 2018-10-29 22:29:02 +01:00
utils Fix bug where "env rm" fails silently if an additional arg is present 2019-08-12 13:47:31 +01:00
app-capitano.coffee Implement full command testing, beginning with "balena version" 2019-08-12 14:50:41 +01:00
app-common.ts Implement full command testing, beginning with "balena version" 2019-08-12 14:50:41 +01:00
app-oclif.ts Implement full command testing, beginning with "balena version" 2019-08-12 14:50:41 +01:00
app.ts Implement full command testing, beginning with "balena version" 2019-08-12 14:50:41 +01:00
config.ts Add "build secrets" and "build variables" support for push/build/deploy 2019-07-15 16:23:35 +01:00
errors.ts chore: fix up small typos, remove gitter link 2019-07-17 20:12:52 +01:00
events.ts Update mixpanel tracking 2019-07-22 13:42:44 +01:00
global.d.ts Bump min Node.js version to 8.0, ts-node to 8.1 and typescript to 3.4. 2019-06-04 13:51:55 +01:00