0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2025-12-24 22:52:40 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
David Bolack
3ee9fe1c3f Update tests.
Prune no lionger valid cases.
2024-02-06 22:13:44 -06:00
David Bolack
c747c5577e Add PANdoc style lists ( using :: not : )
Includes new tests and fixes broken old tests
2024-01-16 02:01:55 -06:00
David Bolack
d09dc11f5f The remainder of the tests 2024-01-14 13:38:01 -06:00
David Bolack
4c2211c428 Updated rendering to follow input line breaks
Updated and additional tests.
2024-01-14 13:30:52 -06:00
David Bolack
d076d6c719 Update tests for previous changes. 2024-01-13 18:58:59 -06:00
Louis David Bolack
dfd5b228c2 Merge branch 'master' into Extended_DD 2023-12-21 22:08:30 -06:00
David Bolack
96d973528c Updated and reworked to handle more definition*
Updated to allow multiple definition terms and definitions per term

<Term>::<definition>
<Term>::<definition1>::<definition2>
::<definition3>

```
**Example** ::
::V3 uses HTML *definition lists* to create "lists" with hanging indents.
::Three
I'm a term::Four

**<u>Hello</u>**::I\'m a different
::List
:
```
2023-12-20 22:57:37 -06:00
Trevor Buckner
507f170720 Merge branch 'master' into pr/3066 2023-12-14 16:45:57 -05:00
Trevor Buckner
688377ce0b Fix failing Markdown tests 2023-12-14 16:24:23 -05:00
Trevor Buckner
8cf57dbc72 Merge branch 'master' into pr/3066 2023-12-14 15:01:28 -05:00
Trevor Buckner
ef00231c5b Move tests to the correct section 2023-12-14 13:46:44 -05:00
Trevor Buckner
c39653bc69 Merge branch 'master' into pr/3131 2023-12-14 12:24:48 -05:00
Trevor Buckner
af20d0b1c2 Make a lot of Markdown tests pass 2023-12-14 12:20:50 -05:00
David Bolack
769f636db2 Small fix and test updates
Discovered that classes ( and possibly other splits could end up with an
empty/null member that still gets joined so I added a trim to the end of
all the joins in processStyleTags.

Added tests that SHOULD test for bloc-level and inline-span moustaches
with added attributes ( a=b )
2023-12-06 17:48:51 -06:00
Víctor Losada Hernández
467b728c47 text-re-fix 2023-12-06 00:24:44 +01:00
David Bolack
d6e63604ac Add tests 2023-11-22 13:29:37 -06:00
David Bolack
0624f8a0b9 Add basic tests for Dictionary lists. 2023-11-22 13:13:58 -06:00
David Bolack
c068aca9ff Small tweaks to processStyle.
This changes the output on arbitrary outputs to always wrap the value in
quotes instead of only doing so on whitespaced values.
2023-11-11 15:47:27 -06:00
David Bolack
837306c9a7 Add tests for arbitrary attributes.
Also shifted around the adding of spaces for the attributes.
2023-11-07 19:07:58 -06:00
Víctor Losada Hernández
b557144f63 extra tests 2023-09-27 20:11:00 +02:00
G.Ambatte
1b2fc746d3 Remove script check from basic Markdown tests 2023-06-17 22:45:09 +12:00
G.Ambatte
69c242425b Update test output 2023-06-03 14:20:45 +12:00
Trevor Buckner
b756a2f026 Fix missing eslint jest dependency 2023-04-11 22:05:32 -04:00
Gazook89
83fac6a10f Mark failing tests with comments. 2023-04-04 21:13:41 -05:00
Gazook89
9e9bf8c6fa Add injection tests 2023-04-04 16:32:59 -05:00
Gazook89
4cfe26b4a9 Add Block tests, structure with Describe() 2023-04-04 16:15:10 -05:00
Gazook89
69c283f00f Set Inline unit tests grouped inside a describe 2023-04-03 21:00:59 -05:00
Gazook89
9f17f36a87 add trimReturns() method to strings to trim render output 2023-04-03 20:53:07 -05:00
Gazook89
b948106500 add dedent for Block tests 2023-04-03 20:51:05 -05:00
Gazook89
7000b911e7 change mustache test file name. 2023-04-03 20:46:21 -05:00
G.Ambatte
4484035d75 Add Markdown test 2023-02-21 07:51:18 +13:00
Trevor Buckner
ebc03aee33 Update Jest test for moved legacy homepage 2022-11-10 21:04:25 -05:00
Trevor Buckner
d7aa4afa60 process.chdir in app.js.
Everything works, no need for path.resolve. All tests pass.
2022-01-29 23:53:30 -05:00
Alexey Sachkov
543d65f43f Add very first HTTP tests
Added tests for "static" pages like Home, Changelog, FAQ, etc.
2022-01-22 00:36:54 +03:00
Alexey Sachkov
28793e06fc Fix linter errors 2021-12-30 23:40:58 +03:00
Alexey Sachkov
01bceca7df Add some tests for mustache span syntax
Also refactored test files a bit
2021-12-30 23:23:44 +03:00
Alexey Sachkov
ccca313a15 Initial commit with jest enabling
Removed dependency on pico-check and existing tests.
Added jest as dev dependency, introduced minimal configuration for it.
Added a very first couple of tests for our markdown parser/renderer.
2021-12-30 22:41:01 +03:00
Scott Tolksdorf
5ebba25183 Moving babelrc into package 2018-04-09 00:12:56 -04:00