fix(test): Fix incorrect argument passed to renderDefault in test case
This commit is contained in:
@ -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();
|
||||
});
|
||||
|
Reference in New Issue
Block a user