Fork me on GitHub
#re-frame
<
2020-04-07
>
curlyfry16:04:31

I'm having some trouble with re-frame-test. I'm running my tests using cljs.test/run-tests in a separate test runner namespace.

;; Works as expected
(deftest foo
  (is (= 1 2)))

;; This assertion doesn't show up in the test report at all
(deftest wat
  (rf-test/run-test-sync
    (is (= 2 3))))

curlyfry16:04:38

Any clue what I could be missing?

curlyfry16:04:49

Ignore the above! The issue was specific to our test runner page.

m_traven19:04:14

I have an application with a data table, and I’ve been using https://github.com/kishanov/re-frame-datatable which is not that great (in both looks, and seems like it isn’t maintained). Would like to substitute in some more polished table component. Does anyone have any recommendations (or better yet, examples) of table components that work well with re-frame?

ingesol07:04:58

@U0DJHC856 I would be surprised if there are comparable alternatives to datatable out there. You probably need to look into React alternatives that can be integrated with interop, that’s usually a decent alternative. We’re using datatable with great success. We’re able to style it to our needs as well. It depends on the fit to your needs I guess. It’s not maintained, and probably never will be, but with current feature set it will keep working for a long time.