This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-03-15
Channels
- # announcements (10)
- # asami (5)
- # babashka (49)
- # babashka-sci-dev (8)
- # beginners (25)
- # calva (98)
- # cider (2)
- # clj-kondo (22)
- # clojure (32)
- # clojure-dev (12)
- # clojure-europe (32)
- # clojure-nl (3)
- # clojure-spec (3)
- # clojure-uk (10)
- # clojurescript (12)
- # community-development (1)
- # conjure (71)
- # cursive (7)
- # datalog (6)
- # events (2)
- # figwheel-main (2)
- # fulcro (4)
- # jobs (2)
- # kaocha (3)
- # lsp (43)
- # membrane (12)
- # missionary (9)
- # off-topic (61)
- # pathom (7)
- # polylith (2)
- # reagent (38)
- # remote-jobs (4)
- # shadow-cljs (17)
- # specter (1)
- # tools-deps (38)
- # vim (51)
- # web-security (5)
When running tests in command-line. Is it required that :open-url
config not to be false?
I wonder how will this work in CI env?
I’m working on preventing some issues we incur upon ourselves by identifying the problems during testing, like requiring CLJ frameworks in a CLJC file. We have a CLJC namespace like this:
(ns lumanu.domain.text-message.text-message
(:require [clj-time.core :as t]))
(def schema
[:map {:closed true}
[::idempotency-key {:documentation "The unique string identifying this message to avoid repeats"} :string]
[::phone-number {:documentation "The phone number this message was sent to"} :string]
[::content {:documentation "The body of the message"} :string]
[::created-at {:documentation "The time the message was sent"
:optional true}
[:fn #(satisfies? t/DateTimeProtocol %)]]
[::updated-at {:documentation "This field is necessary, but should always mirror created-at"
:optional true}
[:fn #(satisfies? t/DateTimeProtocol %)]]])
When I run clj -m figwheel.main -b dev -r
I see an error in the console output, but when I use the command like this clj -m figwheel.main -bo dev
there are no errors. What is the REPL startup doing that it’s finding this error? I’d like to be able to replicate that in our automated testing