fix(test): Fix incorrect argument passed to renderDefault in test case
This commit is contained in:
parent
62a9b0e475
commit
24cc43e3f2
@ -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
|
||||
|
||||
|
@ -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();
|
||||
});
|
||||
|
@ -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.'
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user