Closed gfredericks closed 5 years ago
@w01fe do you have something setup to run the tests? I can't remember what it takes. lein test
prints a claim of failure, seemingly in the middle of the test run.
(I was at least able to confirm that one of the tests I added failed in the old code and now passes)
I just ran with lein test
. It seems like on master string-coercer-test
is failing in cljs with "#TypeError: undefined is not an object (evaluating 'schema.coerce.uuid.call)". Is that what you're seeing? Not sure when that appeared. (I'm very sad I never got CI working on this project, I recall some problem with the cljs stuff at the time.)
I'll try to get CI working; I have it setup for at least one other project w/ cljs, I think, probably maybe.
I don't think I have permissions to create the build on circleci; can you?
it says to contact the project admin, so I assume I'm not one of those, but maybe I'm wrong.
I don't think, in the course of developing #414, that I ever saw a failure like #TypeError: undefined is not an object (evaluating 'schema.coerce.uuid.call)
.
In any case, using the #414 code, this code now passes (I had to make the tiny change in d44b38e to get cljs passing). So if you don't have any comments on the substance, I will merge this once #414 is merged.
Sounds good, thanks a ton for doing this! I think I've set up circle for schema and schema-generators, and I also made you an admin for the org so hopefully you have permissions to tweak htings. If not let me know and I'll try harder.
woah look, it built the branch too!
Supercedes #412
Some JVM exception types are too severe to be caught and interpreted as schema failures. This commit adds a short whitelist of those types and re-throws them.