fix(test): Fix incorrect argument passed to renderDefault in test case

This commit is contained in:
Philipp Kunz 2025-01-14 17:57:41 +01:00
parent 62a9b0e475
commit 24cc43e3f2
3 changed files with 7 additions and 2 deletions

View File

@ -1,5 +1,10 @@
# Changelog
## 2025-01-14 - 1.0.11 - fix(test)
Fix incorrect argument passed to renderDefault in test case
- Corrected the argument list for renderDefault call in test/test.ts
## 2025-01-14 - 1.0.10 - fix(test)
Add logging for rendered text outputs in test cases

View File

@ -10,7 +10,7 @@ tap.test('setup', async () => {
tap.test('should render text with the default font', async () => {
const text = "serve.zone";
const result = await testFiglet.renderDefault(text, '');
const result = await testFiglet.renderDefault(text);
console.log(result);
expect(result).toBeTruthy();
});

View File

@ -3,6 +3,6 @@
*/
export const commitinfo = {
name: '@push.rocks/beautyfiglet',
version: '1.0.10',
version: '1.0.11',
description: 'A Node.js module for creating customizable ASCII art using figlet with options for different fonts and layouts.'
}