Ran
|
Jobs
1
|
Files
545
|
Run time
8s
|
Badge
Embed ▾
README BADGES
|
push
github
Improve stories markdown parsing (#2602) * Install new dependencies * Move RemoveLast utility type to TypeHelper * Create more tuple manipulation types Also added comments for documentation. * Remove unnecessary useEffect Based on testing, this is never run. * Rename children prop to content * Improves naming abstraction * Reflects true purpose * Prevent conflicts with React children prop * Remove unnecessary explicit typing * Reduce unnecessary rerendering of UserBlogContent Removes the unnecessary rerender after clicking the run button, thereby persisting the output on the screen. * Add type export for SourceBlockProps * Create ReplaceTypeAtIndex utility type * Create logic to handle custom components at AST level * Replace old markdown renderer with new logic * Update default story to match new behavior * Remove old react-markdown dependency * Fix failing snapshots * Refactor regex to use helper function Drastically improves code readability. * Update jest configuration * Remove unused module regexes * Add more module regexes * Update some module regexes to be more specific * Revert "Fix failing snapshots" This reverts commit 06cc1678c. * Fix indent * Remove extraneous comments
2168 of 6726 branches covered (32.23%)
Branch coverage included in aggregate %.
14 of 14 new or added lines in 3 files covered. (100.0%)
5733 of 14384 relevant lines covered (39.86%)
19.19 hits per line
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
1.2 |
0.07% | src/features/stories/storiesComponents/SourceBlock.tsx |
1 |
7.25 |
0.75% | src/features/stories/storiesComponents/UserBlogContent.tsx |
10 |
13.33 |
-11.67% | src/commons/utils/StoriesHelper.ts |
Lines | Coverage | ∆ | File |
---|---|---|---|
1 |
1.2 |
0.07% | src/features/stories/storiesComponents/SourceBlock.tsx |
ID | Job ID | Ran | Files | Coverage | |
---|---|---|---|---|---|
1 | 5775684604.1 | 545 |
37.43 |
GitHub Action Run |
Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
---|