@heinrichb/console-toolkit 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.test.js +3 -0
- package/package.json +1 -1
package/dist/index.test.js
CHANGED
|
@@ -113,6 +113,9 @@ describe("Printer & Layout", () => {
|
|
|
113
113
|
test("printDualColumn executes correctly", () => {
|
|
114
114
|
printDualColumn([lineA], [lineB]);
|
|
115
115
|
expect(stdoutSpy).toHaveBeenCalled();
|
|
116
|
+
const output = stdoutSpy.mock.calls[0][0];
|
|
117
|
+
expect(output).toContain("Hello");
|
|
118
|
+
expect(output).toContain("World!!");
|
|
116
119
|
});
|
|
117
120
|
test("getDragonLines returns valid array", () => {
|
|
118
121
|
const lines = getDragonLines();
|
package/package.json
CHANGED