-
- Downloads
Add generic with-action for action tests (#24418)
Combined `with-query-action` and `with-http-action` into `with-action` that also allows options to be provided to override the created action. Chose to make `options-map` required, unlike with-temp, so kondo can use `let` to lint the macro rather than having to create a new hook.
Showing
- .clj-kondo/config.edn 1 addition, 2 deletions.clj-kondo/config.edn
- test/metabase/actions/test_util.clj 50 additions, 53 deletionstest/metabase/actions/test_util.clj
- test/metabase/api/action_test.clj 2 additions, 2 deletionstest/metabase/api/action_test.clj
- test/metabase/api/emitter_test.clj 7 additions, 7 deletionstest/metabase/api/emitter_test.clj
- test/metabase/models/action_test.clj 2 additions, 2 deletionstest/metabase/models/action_test.clj
- test/metabase/models/emitter_test.clj 2 additions, 2 deletionstest/metabase/models/emitter_test.clj
Please register or sign in to comment