diff --git a/changelog.md b/changelog.md index b05af43..8ed2fdd 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,11 @@ # Changelog +## 2025-01-14 - 1.0.10 - fix(test) +Add logging for rendered text outputs in test cases + +- Added console.log statements for outputs of rendered ASCII art in test cases. +- Ensure the correctness of rendering operations by outputting results during tests. + ## 2025-01-14 - 1.0.9 - fix(npm) Updated package description and added more keywords for better visibility diff --git a/test/test.ts b/test/test.ts index 9c23fe5..4733a4b 100644 --- a/test/test.ts +++ b/test/test.ts @@ -9,8 +9,9 @@ tap.test('setup', async () => { }); tap.test('should render text with the default font', async () => { - const text = "Hello, World!"; - const result = await testFiglet.renderDefault(text); + const text = "serve.zone"; + const result = await testFiglet.renderDefault(text, ''); + console.log(result); expect(result).toBeTruthy(); }); @@ -18,6 +19,7 @@ tap.test('should render text with a specific font', async () => { const text = "Fancy Text"; const font = "Ghost"; const result = await testFiglet.renderText(text, font); + console.log(result); expect(result).toBeTruthy(); }); diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 8495de4..f09de50 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@push.rocks/beautyfiglet', - version: '1.0.9', + version: '1.0.10', description: 'A Node.js module for creating customizable ASCII art using figlet with options for different fonts and layouts.' }