Ran
|
Jobs
1
|
Files
9
|
Run time
1s
|
Badge
README BADGES
|
push
circleci
chore: update to marked version 9 (#474) * chore: update to marked version 9 a new token `MARKDOWN_EXTENSIONS` has been added to provide extensions to marked usage example ``` { provide: MARKDOWN_EXTENSIONS, useValue: [gfmHeadingId()], } ``` update `readme.md` file - removed from the examples all the options that were removed - added section for the new marked extension token - removed the part that we need to add node_modules/marked/marked.min.js to our scripts since it's not needed breaking change - all options that were removed from marked has been deleted from this library too, see more at https://marked.js.org/using_advanced#options - some methods now return `Promise<string>` instead of `string`, because marked is doing so - `srcRelativeLink` input is removed as the baseUrl option has been removed from marked, use https://www.npmjs.com/package/marked-base-url instead * Update README.md * test: fix the Marked testing by providing it using Angular dependency rejection so it's possible to override it in the unit test it starts with ɵ so IDE doesn't provide it in autocomplete suggestions * feat: add `extensions` to the `MarkdownModuleConfig` remove unused `loader` from the `MarkdownModuleConfig` * Revert "feat: add `extensions` to the `MarkdownModuleConfig`" This reverts commit be713bf63. * Re-add extensions to the MarkdownModuleConfig * Add missing unit tests --------- Co-authored-by: jfcere <jfcere@sherweb.com>
98 of 106 branches covered (0.0%)
Branch coverage included in aggregate %.
15 of 15 new or added lines in 5 files covered. (100.0%)
282 of 286 relevant lines covered (98.6%)
21.24 hits per line
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 1d74f11f-e24c-450c-8833-c4f1753d8817.1 | 9 |
96.94 |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|---|---|---|---|---|---|---|---|---|
95.28 | lib/src/markdown.component.ts | 261 - 13 | 90 - 6 | 88 - 6 | 2 | 16.0 - 1.0 | 13 - 3 | 3 | |
96.82 | lib/src/markdown.service.ts | 449 + 23 | 150 + 7 | 148 + 7 | 2 | 29.0 | 65 + 2 | 5 + 1 | |
100.0 | lib/src/markdown-extensions.ts | 6 | 1 | 1 | 0 | 1.0 | 0 | 0 | |
100.0 | lib/src/markdown.module.ts | 69 + 11 | 4 | 4 | 0 | 24.0 | 10 - 3 | 0 | |
100.0 | lib/src/markdown.pipe.ts | 41 | 15 | 15 | 0 | 3.0 | 2 | 0 | |
100.0 | lib/src/marked.ts | 9 | 1 | 1 | 0 | 1.0 | 0 | 0 | |
100.0 | lib/src/clipboard-button.component.ts | 43 | 9 | 9 | 0 | 3.0 | 2 | 0 | |
100.0 | lib/src/prism-plugin.ts | 6 | 4 | 4 | 0 | 1.0 | 2 | 0 | |
100.0 | lib/src/language.pipe.ts | 26 | 12 | 12 | 0 | 6.0 | 4 | 0 |