4 Commits

4 changed files with 16 additions and 3 deletions

View File

@ -1,5 +1,16 @@
# 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
- 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

View File

@ -1,6 +1,6 @@
{
"name": "@push.rocks/beautyfiglet",
"version": "1.0.9",
"version": "1.0.11",
"description": "A Node.js module for creating customizable ASCII art using figlet with options for different fonts and layouts.",
"exports": {
".": "./dist_ts/index.js"

View File

@ -9,8 +9,9 @@ tap.test('setup', async () => {
});
tap.test('should render text with the default font', async () => {
const text = "Hello, World!";
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();
});

View File

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