Coveralls logob
Coveralls logo
  • Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

loedeman / AutoMapper / 66
93%

DEFAULT BRANCH: master
Build:
Ran 24 Nov 2017 03:57AM UTC
Jobs 1
Files 10
Run time 1s
Badge
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

24 Nov 2017 - 3:55 coverage: 92.706%. Remained the same
66

Pull #47

travis-ci

9181eb84f9c35729a3bad740fb7f9d93?size=18&default=identiconweb-flow
Update gulp-umd Configuration to Export AutoMapperJs Namespace

Before, the UMD configuration ensured that only the `automapper` global
variable was exported. Now, the whole `AutoMapperJs` namespace is
exported. This makes things such as `Profile` and
`CamelCaseNamingConvention` available. The `automapper` variable is
still attached to `window` (or `global`), as there is code in
`AutoMapper.ts` that ensures it does.

Note that in a webpack environment, the `automapper` variable is likely
**not** placed on the `window` or `global` object, as the global `this`
object is likely not the `global` or `window. In this case, calling
`AutoMapper.getInstance()` to get the singleton is likely required.

I think there could be more work on this codebase as far as how it
handles exports and namespacing, and I think I'll have some time to look
into continuing that.

Fixes #41.
Pull Request #47: Update gulp-umd Configuration to Export AutoMapperJs Namespace

340 of 428 branches covered (79.44%)

788 of 850 relevant lines covered (92.71%)

30.66 hits per line

Jobs
ID Job ID Ran Files Coverage
1 66.1 24 Nov 2017 03:57AM UTC 10
92.71
Travis Job 66.1
Source Files on build 66
  • List 10
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Travis Build #66
  • Pull Request #47
  • PR Base - master (#64)
Troubleshooting · Open an Issue · Sales · Support · ENTERPRISE · CAREERS · STATUS
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2023 Coveralls, Inc