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

i18next / i18next / 12434994618
92%

Build:
DEFAULT BRANCH: master
Ran 20 Dec 2024 04:33PM UTC
Jobs 1
Files 13
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

20 Dec 2024 04:32PM UTC coverage: 95.838% (-0.2%) from 96.018%
12434994618

push

github

web-flow
Standardize null/undefined checks across codebase (#2275)

This PR standardizes the pattern of checking for null/undefined values
using `== null` across the codebase. This is a well-known JavaScrip
idion, which was already being used at the codebase on the file
`src/utils.js`.

This simplifies several conditionals while maintaining the same
functionality. It particularly simplifies the check for `defaultNS`, in
which extra care was taken to prevent the case of the variable being
`false`.

Example:
```js
// Before
if (key === undefined || key === null)

// After
if (key == null)
```

Co-authored-by: Sebastian Carlos <sebastiancarlos@gmail.com>

1004 of 1100 branches covered (91.27%)

4 of 4 new or added lines in 2 files covered. (100.0%)

5 existing lines in 1 file now uncovered.

2763 of 2883 relevant lines covered (95.84%)

1096.89 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12434994618.1 20 Dec 2024 04:33PM UTC 0
95.84
GitHub Action Run
Source Files on build 12434994618
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12434994618
  • 6e6d8990 on github
  • Prev Build on master (#12426083972)
  • Next Build on master (#12435017048)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc