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

react-boilerplate / react-boilerplate / 4152
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix-component-mixUp-in-css-docs
DEFAULT BRANCH: master
Ran 15 May 2019 01:51PM UTC
Jobs 2
Files 83
Run time 14s
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

pending completion
4152

push

travis-ci

web-flow
More declarative component tests using jest-dom/extend-expect (#2654)

* Make jest-dom available globally

* Refactor link component to use jest-dom

* Refactor component tests to use jest-dom matchers

Additionally:
- Replace manual DOM queries with native querying methods from `testing-library`
- Use `react-testing-library` renderer for snapshot testing, instead of `react-test-renderer`

* Assign the console spy in Img test to a variable

Eslint catches `expect(console.error)` assertions as a console usage. Assigning the spy to a variable solves the issue without having to disable the rule locally.

* Refactor container tests to use jest-dom matchers

Co-authored-by: Tigran Petrossian <tgpett@gmail.com>

102 of 106 branches covered (96.23%)

309 of 309 relevant lines covered (100.0%)

45.73 hits per line

Jobs
ID Job ID Ran Files Coverage
1 4152.1 15 May 2019 01:51PM UTC 0
100.0
Travis Job 4152.1
2 4152.2 15 May 2019 01:51PM UTC 0
100.0
Travis Job 4152.2
Source Files on build 4152
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #4152
  • a7e81dcc on github
  • Prev Build on dev (#4144)
  • Next Build on dev (#4156)
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