Closed cmoesel closed 5 years ago
Turns out that the tests crash. Locally I had some stale generated classes that allowed it to work. I'll have to fix this up later -- so don't merge for now.
OK. Tests are fixed. (That was annoying). I also updated the yarn lock for shr-fhir-export so that the test can successfully run on Travis.
Currently requires FHIR references to be absolute. We should probably add support for relative links, but I wanted to get this out here sooner than later. Also noticing just now that I put a
resolve
property in the discriminator hash, but never actually use it (and just always assume we need to resolve). Should probably revisit that as well.Also includes some cleanup of the tests and all the stuff that was getting printed to the console. And adds a new test to ensure that the CIMPL fixtures compile cleanly.
Last, moved the expensive
setup
calls to thebefore
functions of tests so you can use mocha--grep
to run only a subset of tests and not have to wait for all the setups.