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

MITLibraries / transmogrifier-ab-diff / 11387569442
96%
main: 86%

Build:
Build:
LAST BUILD BRANCH: IN-1240-pip-audit
DEFAULT BRANCH: main
Ran 17 Oct 2024 02:58PM UTC
Jobs 1
Files 14
Run time 1min
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

17 Oct 2024 02:56PM UTC coverage: 95.826%. Remained the same
11387569442

push

github

ghukill
Template JSON directly to javascript objects

Why these changes are being introduced:

We were running into some encoding / serialization issues
when passing JSON strings to the HTML via templating, and
then parsing for the JSON viewer.  Looks as though there
was some redundant and unneeded serialization + parsing.

When JSON strings are templated directly to javascript
as objects, the json.dumps() encoding is sufficient and safe.

How this addresses that need:
* custom loadJSONData now expects an object vs a JSON string
* all invocations of loadJSONData receive an object
directly from jinja templating

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/TIMX-367

574 of 599 relevant lines covered (95.83%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11387569442.1 17 Oct 2024 02:58PM UTC 0
95.83
GitHub Action Run
Source Files on build 11387569442
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11387569442
  • 336bc01f on github
  • Prev Build on TIMX-367-json-viewer-renderings (#11387287746)
  • 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

© 2026 Coveralls, Inc