mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-22 13:09:26 +00:00
- Replacing old package `colors` by drop-in replacement `ansis`
- Rework `console-stamp` config to show all Log outputs in same color
(errors = red, warnings = yellow, debug = blue background (only for the
label), info = blue)
- This also fixes `npm run config:check` (broken since
6097547c10
)
Feel free to let me know if the PR is too big and you want me to do
individual PRs for the changes.
Before:

After:

---------
Co-authored-by: Veeck <github@veeck.de>
8 lines
218 B
JavaScript
8 lines
218 B
JavaScript
const Utils = require("../../../js/utils");
|
|
|
|
describe("Utils", () => {
|
|
it("should output system information", async () => {
|
|
await expect(Utils.logSystemInformation()).resolves.toContain("platform: linux");
|
|
});
|
|
});
|