0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 06:47:38 +00:00
Commit Graph

135 Commits

Author SHA1 Message Date
Gazook89 fa07af2d82 Add tests for the Dropdown structure and behavior
Largely this is written by an LLM after I provided the targets, and I've looked through the tests themselves to confirm they are accurate.  There may be improvements in how to actually *set up* the tests, though, as I am less familiar with those.

This has two test suites:  the first for html structure, the second for behavior.  Each of them calls another script that provides helper functions for setting things up and taking them down.  This keeps the test suites themselves fairly lean.
2026-05-29 11:08:05 -05:00
Gazook89 9935f54080 Update variables.test.js 2026-04-30 21:11:33 -05:00
Gazook89 a973a5db0d Update mustache-syntax.test.js 2026-04-28 22:51:27 -05:00
G.Ambatte e1061e1970 Remove obsolete test 2026-04-05 22:28:29 +12:00
Víctor Losada Hernández 05a74417ff fix back tests 2026-02-25 19:01:01 +01:00
Víctor Losada Hernández c096014871 shared folder (for markdown.js and helpers 2026-02-25 18:40:50 +01:00
Víctor Losada Hernández ade6f3997a fix safehtml test 2026-02-24 22:06:47 +01:00
Víctor Losada Hernández 735c8cb917 fix static pages tests 2026-02-24 21:58:09 +01:00
Víctor Losada Hernández 7e09f7031c change imports in tests 2026-02-03 22:54:28 +01:00
Víctor Losada Hernández d6b763e62d update import paths 2026-01-23 18:44:51 +01:00
Víctor Losada Hernández dbeff56ffa change legacy snippets to use named exports and move from dedent-tabs to dedent 2026-01-23 17:38:16 +01:00
Víctor Losada Hernández 375c54d6ff jsdom to globalJsdom 2026-01-21 20:38:00 +01:00
Víctor Losada Hernández e30ae2b88e like this? 2026-01-21 20:03:41 +01:00
Víctor Losada Hernández b233030bdc lets try calc's way 2026-01-21 19:42:21 +01:00
Víctor Losada Hernández 007ae985c8 this should do it, reverted jsdom global import 2026-01-21 17:30:00 +01:00
Víctor Losada Hernández 832b18a4d4 Revert "lets try this"
This reverts commit eab526a051.
2026-01-21 17:27:00 +01:00
Víctor Losada Hernández eab526a051 lets try this 2026-01-21 16:39:59 +01:00
Víctor Losada Hernández fc8656e05b all imports 2026-01-20 22:14:34 +01:00
Gazook89 c5aa774daa Move markdown.js and markdownlegacy.js
Moves the two files up a level, directly in `/shared/`.  Everything else is just updating paths for that.
2025-11-04 22:29:28 -06:00
G.Ambatte 41ff50fefe Add missing test 2025-07-14 21:23:38 +12:00
David Bolack 196f290320 Merge branch 'master' into marked-nonbreaking-spaces 2025-04-08 21:49:07 -05:00
G.Ambatte 2166d55878 Merge branch 'master' into autoPageNumberBrewVariable 2025-04-06 17:27:17 +12:00
Trevor Buckner eac87b65d8 Update tests and custom link renderer
v15 changes where html gets escaped and escapes plain text more consistently. Needed to update tests to match.
2025-03-26 19:26:20 -04:00
G.Ambatte 848c68689d Add NaN custom pageNumber test 2025-03-27 12:09:58 +13:00
G.Ambatte 65001c44e6 Add tests for variable page numbering 2025-03-27 12:03:22 +13:00
G.Ambatte 9f68d60703 Merge branch 'master' into autoPageNumberBrewVariable 2025-03-27 11:48:20 +13:00
Víctor Losada Hernández e3a7e1f403 Merge branch 'master' into issue_3659 2025-03-22 16:39:49 +01:00
Víctor Losada Hernández f076e05f49 js files 2025-03-18 19:46:11 +01:00
G.Ambatte b2903137eb Fix hard-breaks tests 2025-03-18 11:08:15 +13:00
G.Ambatte 7329c69cfd Update tests 2025-03-18 11:02:09 +13:00
David Bolack 86ff2ab96b Add tests for regression 2025-03-14 19:51:35 -05:00
G.Ambatte f4afc91df7 Rename toWordsCamel to toWordsCaps 2025-03-14 08:08:30 +13:00
G.Ambatte baafb6d2f9 Tweak camelcase function 2025-03-13 14:54:45 +13:00
G.Ambatte 44a01f27fe Add tests for custom math functions 2025-03-13 13:58:06 +13:00
David Bolack 06e3fd6248 Merge branch 'master' into marked-nonbreaking-spaces 2025-02-21 14:06:53 -06:00
Trevor Buckner 0ba943ceb0 Update Test Cases 2025-02-19 16:15:31 -05:00
David Bolack 0c2f0ac31e Remove tests performed in nonbreaking space module 2025-02-12 12:52:01 -06:00
David Bolack 3cfdb7eeb0 Temporarily restore old tests. 2025-02-12 12:26:02 -06:00
David Bolack 1f9495099f WIP 2025-02-12 12:22:02 -06:00
Trevor Buckner 8e99d47869 Parse mustache "style" properties into object instead of string 2025-01-23 00:54:07 -05:00
Víctor Losada Hernández f7b36a9b05 Merge branch 'master' into justifiedParagraphs 2025-01-17 19:04:48 +01:00
David Bolack 5dbb5499c6 fix test 2025-01-17 10:02:32 -06:00
David Bolack d4f6c329b8 Add a test! 2025-01-15 17:36:18 -06:00
David Bolack f71850d8b1 Merge branch 'master' into justifiedParagraphs 2024-12-20 14:55:30 -06:00
Trevor Buckner aae5367ad2 Add test case for single-line definition list 2024-12-20 11:01:55 -05:00
Trevor Buckner ed8c4d0eef Add tests to circleCi 2024-12-19 23:14:32 -05:00
Trevor Buckner 6e9d293bbe Rename tests to "Non-breaking Spaces"
Hard Breaks name was leftover from copying the `::::` test file.
2024-12-19 23:09:43 -05:00
David Bolack 6301a66fd3 Add additional tests 2024-12-19 17:44:48 -06:00
David Bolack 912f9f0cf6 Remove extraneous linefeeds in horizontalbreaks 2024-12-17 21:40:56 -06:00
David Bolack c63b6ffaf0 Add test for a pair of inline horizontal breaks 2024-12-17 21:38:32 -06:00