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

microstates / trafficlight
99%
master: 99%

Build:
Build:
LAST BUILD BRANCH: tm/add-chat-badge
DEFAULT BRANCH: master
Repo Added 13 Dec 2018 05:43AM UTC
Files 8
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

LAST BUILD ON BRANCH cl/fix-webpack-build
branch: cl/fix-webpack-build
CHANGE BRANCH
x
Reset
  • cl/fix-webpack-build
  • cl/fix-linting-error
  • cl/union-types
  • master
  • tm/add-chat-badge

pending completion
43

Pull #9

travis-ci-com

web-flow
Allow to work with production Webpack build.

Apparently, when a class explicitly extends object like this:

```javascript
class Thing extends Object {

}
````

It is completely erased by webpack production build and replaced by
the object constructor. In other words

```javascript
new Thing() instanceof Thing //=> false
```

This feels like a pretty big bug in webpack, but it is easily fixed
enough by making the base class of a union default to an empty class
`class {}` instead of `Object`
Pull Request #9: Allow to work with production Webpack build.

29 of 30 branches covered (96.67%)

Branch coverage included in aggregate %.

1 of 1 new or added line in 1 file covered. (100.0%)

67 of 67 relevant lines covered (100.0%)

127.0 hits per line

Relevant lines Covered
Build:
Build:
67 RELEVANT LINES 67 COVERED LINES
127.0 HITS PER LINE
Source Files on cl/fix-webpack-build
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
43 cl/fix-webpack-build Allow to work with production Webpack build. Apparently, when a class explicitly extends object like this: ```javascript class Thing extends Object { } ```` It is completely erased by webpack production build and replaced by the object constru... Pull #9 14 Jan 2019 06:53PM UTC web-flow travis-ci-com pending completion  
42 cl/fix-webpack-build Allow to work with production Webpack build. Apparently, when a class explicitly extends object like this: ```javascript class Thing extends Object { } ```` It is completely erased by webpack production build and replaced by the object constru... push 14 Jan 2019 06:52PM UTC cowboyd travis-ci-com pending completion  
See All Builds (16)
  • Repo on GitHub
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