Commit graph

29 commits

Author SHA1 Message Date
Jakub Jirutka
ad741eaf48 Make toMatchElement compatible with other DOM implementations 2020-04-08 12:24:23 +02:00
Jakub Jirutka
6eebe39b4d Fix swapped arguments in toMatchElement 2020-04-08 01:26:44 +02:00
Jakub Jirutka
c13cb544cb Change structure of tsconfigs for tests to fix issues in VSCode 2020-04-07 22:49:45 +02:00
Jakub Jirutka
fd5d79319c Bump eslint and its plugins, fix new code-style violations 2020-01-23 17:31:46 +01:00
Jakub Jirutka
bc4d2e1d9a Bump jest and ts-jest from 24.x to 25.x 2020-01-23 15:29:06 +01:00
Jakub Jirutka
495f17fd87 Convert repository to "monorepo" 2019-10-19 20:30:21 +02:00
Jakub Jirutka
a8c48cc4f2 Add suffix Output to nbformat types Error and Stream
To avoid confusion with standard JS/Node types.
2019-10-14 14:21:44 +02:00
Jakub Jirutka
a89fad58cf Enable ESLint for tests and update rules overrides 2019-10-03 02:17:55 +02:00
Jakub Jirutka
7b90320c49 Fix code-style: Don't use template literals without placeholders 2019-10-02 02:18:58 +02:00
Jakub Jirutka
db98cb4f74 Generalize renderer 2019-10-01 13:22:42 +02:00
Jakub Jirutka
34ab834a6d Bump nodom to ^2.4.0 2019-09-30 17:23:42 +02:00
Jakub Jirutka
a9a38c4419 Use JSX in renderer tests 2019-09-29 02:05:44 +02:00
Jakub Jirutka
e7d8cfa193 Add Jest matcher toMatchElement() 2019-09-29 02:04:50 +02:00
Jakub Jirutka
5dcada84dd Add JSX support for tests 2019-09-29 02:03:02 +02:00
Jakub Jirutka
f4bca35e80 Add tests for renderer module 2019-09-29 02:03:01 +02:00
Jakub Jirutka
1416f80634 Improve matcher toHtmlEqual() to support array of elements 2019-09-29 02:02:14 +02:00
Jakub Jirutka
ac53ba2541 Refactor internal/utils.test to utilize jest-chain 2019-09-29 02:02:14 +02:00
Jakub Jirutka
3a46203257 Add jest-chain 2019-09-29 02:02:14 +02:00
Jakub Jirutka
1c91dcf9f3 Load test/setup.ts implicitly 2019-09-29 02:02:14 +02:00
Jakub Jirutka
196b37827f Disable ESLint rule consistent-type-definitions
It's actually better to use "interface" instead of "type" - interfaces
preserve their name in error messages, types do not (they are just
aliases).
2019-09-28 01:05:25 +02:00
Jakub Jirutka
85875d7663 Fix code-style in readNotebookTitle.test 2019-09-27 14:53:54 +02:00
Jakub Jirutka
ecce6b8485 Move module utils to directory internal 2019-09-26 18:17:51 +02:00
Jakub Jirutka
0a4f4a09a3 Fix mathExtractor to recognize inline code with line breaks 2019-09-24 01:36:54 +02:00
Jakub Jirutka
05d38601c1 Add tests for mathExtractor 2019-09-24 00:34:45 +02:00
Jakub Jirutka
36131b9ed2 Add workaround for SageMath latex outputs 2019-09-22 23:26:58 +02:00
Jakub Jirutka
745346150e Add module readNotebookTitle 2019-09-20 18:15:25 +02:00
Jakub Jirutka
61c3b5feab Fix escapeHTML() to escape even "&" and refactor it 2019-09-16 22:54:52 +02:00
Jakub Jirutka
f19a70416e Completely refactor renderer and add tests for utils 2019-09-16 22:54:51 +02:00
Jakub Jirutka
b1f3ca8cb7 Prepare project 2019-09-15 20:28:11 +02:00