• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

source-academy / frontend / 5775684604
40%

Build:
DEFAULT BRANCH: master
Ran 06 Aug 2023 09:02AM UTC
Jobs 1
Files 545
Run time 8s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Aug 2023 08:57AM UTC coverage: 37.428% (-0.006%) from 37.434%
5775684604

push

github

web-flow
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 %.

2 of 14 new or added lines in 3 files covered. (14.29%)

1 existing line in 1 file now uncovered.

5733 of 14384 relevant lines covered (39.86%)

19.19 hits per line

New Missed Lines in Diff

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

Uncovered Existing Lines

Lines Coverage ∆ File
1
1.2
0.07% src/features/stories/storiesComponents/SourceBlock.tsx
Jobs
ID Job ID Ran Files Coverage
1 5775684604.1 06 Aug 2023 09:02AM UTC 545
37.43
GitHub Action Run
Source Files on build 5775684604
  • Tree
  • List 545
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • 66f7818a on github
  • Prev Build on master (#5771139412)
  • Next Build on master (#5777128427)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc