fix(test): Add logging for rendered text outputs in test cases
This commit is contained in:
@ -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();
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user