mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-19 06:38:45 -05:00
clever test to ensure we've set $TERM env up correctly
This commit is contained in:
+3
-3
@@ -15,9 +15,9 @@ jobs:
|
||||
steps:
|
||||
- checkout
|
||||
|
||||
- run: echo $TERM
|
||||
|
||||
- run: node -e 'console.log(process.env.TERM)'
|
||||
## make sure the term is set to 'xterm' in node
|
||||
## else colors (and tests) will fail
|
||||
- run: echo 'term env var is:' $TERM && node -e 'assert.equal(process.env.TERM, "xterm")'
|
||||
|
||||
# need to restore a separate cache for each package.json
|
||||
- restore_cache:
|
||||
|
||||
Reference in New Issue
Block a user