Skip to content

jenanwise/cljs-test-with-slow-async-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-test-with-slow-async-example

Minimal test case demonstrating that cljs.test's report summary can run and print before async tests complete (using their done callback).

Usage

# build out/main.js
./build

Then open test.html in your browser and view the console. You should see:

Testing cljs-test-with-slow-async-example.core-test

Ran 1 tests containing 0 assertions.
0 failures, 0 errors.

<1 second elapses>

FAIL in () (cljs_test_with_slow_async_example/core_test.js:201:49)
expected: (= 0 1)
  actual: (not (= 0 1))

About

cljs.test + slow async test example

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published