diff options
author | Ruy Adorno <ruyadorno@hotmail.com> | 2020-07-23 17:41:30 +0300 |
---|---|---|
committer | Ruy Adorno <ruyadorno@hotmail.com> | 2020-07-23 17:41:30 +0300 |
commit | 58772965200d1dbaefe4f3211a6d3e8ff5ef8de9 (patch) | |
tree | 92401c157e6b9891d48c4445f4dea11a3a17e628 /test/lib/ls.js | |
parent | c891dff3231a06c3fb1d521160e6d700349a584c (diff) |
fix: archy output dedupe label color
Diffstat (limited to 'test/lib/ls.js')
-rw-r--r-- | test/lib/ls.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lib/ls.js b/test/lib/ls.js index e1b24990c..c5068b4f8 100644 --- a/test/lib/ls.js +++ b/test/lib/ls.js @@ -905,6 +905,7 @@ test('ls', (t) => { }) t.test('with args and dedupe entries', (t) => { + _flatOptions.color = true prefix = t.testdir({ 'package.json': JSON.stringify({ name: 'dedupe-entries', @@ -947,6 +948,7 @@ test('ls', (t) => { ls(['@npmcli/b'], (err) => { t.ifError(err, 'npm ls') t.matchSnapshot(redactCwd(result), 'should print tree output containing deduped ref') + _flatOptions.color = false t.end() }) }) |