0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 16:22:44 +00:00

Tweak camelcase function

This commit is contained in:
G.Ambatte
2025-03-13 14:54:45 +13:00
parent 8b9e084b17
commit baafb6d2f9
2 changed files with 4 additions and 2 deletions

View File

@@ -482,6 +482,6 @@ describe('Custom Math Function Tests', ()=>{
it('Number to Words Test - Camelcase', function() {
const source = `[a]: 80085\n\nWords: $[toWordsCamel(a)]`;
const rendered = Markdown.render(source).trimReturns();
expect(rendered).toBe('<p>Words: Eighty Thousand And Eighty-five</p>');
expect(rendered).toBe('<p>Words: Eighty Thousand And Eighty-Five</p>');
});
});