Midje icon indicating copy to clipboard operation
Midje copied to clipboard

cljc and clojurescript support?

Open azizzaeny opened this issue 6 years ago • 4 comments

how do you use Midje on clojurescript? can i use it..?

azizzaeny avatar Jul 17 '18 14:07 azizzaeny

i found smidje..

providing :refer-macros for clojurescript.. simply put .cljs files... on core so compiler cljs can undrestand it... like smidje did... what do you think.?

azizzaeny avatar Jul 17 '18 14:07 azizzaeny

I've implemented something over the expectations library called check that may help you. It's still on its infancy but is quite usable too.

mauricioszabo avatar Aug 24 '18 21:08 mauricioszabo

Hi @mauricioszabo , its looks promising because, user can use => arrow then writing is like midje style,

but i m not yet checked it, could you release it to clojars, so i can pull it?

azizzaeny avatar Aug 25 '18 12:08 azizzaeny

It's already on Clojars, version 0.0.2-SNAPSHOT. You call pull it in your project using [check "0.0.2-SNAPSHOT"]. I still didn't publish a "stable version" because of some little issues with ClojureScript in different envs (Figwheel works fine, Shadow CLJS not yet)

mauricioszabo avatar Aug 25 '18 13:08 mauricioszabo