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

qunitjs / qunit / 3062 / 6
89%
main: 90%

Build:
Build:
LAST BUILD BRANCH: 2.x
DEFAULT BRANCH: main
Ran 28 Nov 2020 04:18AM UTC
Files 30
Run time 2s
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

28 Nov 2020 04:16AM UTC coverage: 89.458% (-0.02%) from 89.478%
NPM_SCRIPT=coveralls

push

travis-ci-com

web-flow
CLI: Add native support for ESM .mjs files on Node 12+

* Rename test/es2017 and update ESLint config to allow for import/export
  syntax to be used. We don't rely on ESLint to know what is supported
  in Node.js, our test matrix in CI covers that already.

  We should probably re-think the way these tests are organized,
  which I've filed https://github.com/qunitjs/qunit/issues/1511 for.

* Update eslint config for src/cli to es2020. The dynamic `import()`
  statement was only spe'ced in es2020. This is first implemented
  (without experimental flag) in Node 12. We need to support Node 10.
  However it looks like Node 10 already tolerated this (maybe it sees
  it as a normal function, or maybe it was already recognised by the
  V8 parser it shipped with), so the try-catch suffices there.
  Again, the CI test matrix verifies for us that stuff works fine
  on older versions.

Ref https://github.com/qunitjs/qunit/issues/1465.
Closes https://github.com/qunitjs/qunit/pull/1510.

1167 of 1422 branches covered (82.07%)

2079 of 2324 relevant lines covered (89.46%)

350.1 hits per line

Source Files on job 3062.6 (NPM_SCRIPT=coveralls)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 2
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 2781
  • Travis Job 3062.6
  • 74c88557 on github
  • Prev Job for NPM_SCRIPT=coveralls on master (#3050.6)
  • Next Job for NPM_SCRIPT=coveralls on master (#3067.6)
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