mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-03-11 06:53:56 +00:00
Fix env variable to avoid test failures
Signed-off-by: Paul Jonathan <pj@balena.io> Change-type: patch
This commit is contained in:
parent
7d568a928b
commit
972c2470c5
@ -43,3 +43,7 @@ import { config as chaiCfg } from 'chai';
|
||||
chaiCfg.showDiff = true;
|
||||
// enable diff comparison of large objects / arrays
|
||||
chaiCfg.truncateThreshold = 0;
|
||||
// Because mocks are pointed at "production", we need to make sure this is set to prod.
|
||||
// Otherwise if the user has BALENARC_BALENA_URL pointing at something else like staging, tests
|
||||
// will fail.
|
||||
process.env.BALENARC_BALENA_URL = 'balena-cloud.com';
|
||||
|
Loading…
x
Reference in New Issue
Block a user