plumatic / cljs-test Goto Github PK
View Code? Open in Web Editor NEWVery simple cljs testing using PhantomJS or Google Closure Test Runners in the browser
Very simple cljs testing using PhantomJS or Google Closure Test Runners in the browser
Run cljs-test on this schema commit:
There are no build errors, and the test page reports "All tests pass". But if you search, schema-with-name-test
doesn't appear in the results, and there is a js error in the console in this test.
My guess is that if your test throws an exception outside of an assertion, cljs-test stops executing the remaining tests and reports on the results seen so far.
I'm trying to use cljs-test in my code:
(ns todos.test.core
(:require
[cljs-test.core :as test])
And I'm getting the following error:
Caused by: clojure.lang.ExceptionInfo: Unsupported binding form: (cljs-test.core/log :error (.-stack exception3831)) at line 117 file:/Users/atroche/.m2/repository/prismatic/cljs-test/0.0.5/cljs-test-0.0.5.jar!/cljs_test/core.cljs
But only when I use lein-cljsbuild 0.3.1, which uses org.clojure/clojurescript 0.0-1803.
When I switch back to lein-cljsbuild 0.3.0 (using 0.0-1552), it works fine.
Any ideas?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.