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

jamestalmage / angular-test-utils / 43
100%

Build:
DEFAULT BRANCH: master
Ran 03 Mar 2015 09:27PM UTC
Jobs 2
Files 0
Run time 8s
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
43

push

travis-ci

jamestalmage
remove ast-types as dependency. Access via recast.types.

recast adds a `File` type to `ast-types`.

Accessing `ast-types` by setting it as a dependency and then doing:
`require("ast-types")` used to work, but started throwing
`AssertionError: did not recognize object of type "file"`.

Not sure why this is happening.
1. Type defs used to be global, now they are not?
2. Semver incompatible versions so npm was loading two separate copies?
3. Something else?

Either way - accessing via: `require("recast").types` solves the issue.
This is probably the correct way to do this and I just didn't know better.

270 of 270 relevant lines covered (100.0%)

17.89 hits per line

Jobs
ID Job ID Ran Files Coverage
2 43.2 03 Mar 2015 09:28PM UTC 0
Travis Job 43.2
3 43.3 03 Mar 2015 09:27PM UTC 0
100.0
Travis Job 43.3
Source Files on build 43
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #43
  • 1cb82464 on github
  • Prev Build on master (#41)
  • Next Build on master (#44)
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