mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-14 23:24:52 +09:00
Remove uncoloured formatting of factorioOutput
Since chalk autodetects the color support in the terminal there is no need for a non-coloured version of formatOutput.
This commit is contained in:
1 parent
c6fd46e3c3
commit
ea4f3ab2bf
2 files changed
+1
-39
No files matched your search
@@ -22,14 +22,6 @@ describe("clusterctl", function() {
|
||||
chalk.level = old;
|
||||
});
|
||||
});
|
||||
describe("formatOutput()", function() {
|
||||
it("should pass the test lines", function() {
|
||||
for (let [reference, output] of testLines) {
|
||||
let line = clusterctl._formatOutput(output);
|
||||
assert.deepEqual(line, reference);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
let mockConnector = new mock.MockConnector();
|
||||
mockConnector.on('send', function(message) {
|
||||
|
||||
Reference in new issue
Block a user