Comment time bomb test out (#16452)
This commit is contained in:
parent
f015eb929a
commit
186ac482ee
|
@ -1,9 +1,7 @@
|
|||
(ns utils.datetime-test
|
||||
(:require [cljs-time.coerce :as time-coerce]
|
||||
[cljs-time.core :as t]
|
||||
[cljs-time.format :as t.format]
|
||||
[cljs.test :refer-macros [deftest testing is are]]
|
||||
[clojure.string :as string]
|
||||
[cljs.test :refer-macros [deftest testing is]]
|
||||
[utils.datetime :as datetime]
|
||||
[utils.i18n-goog :as i18n-goog]))
|
||||
|
||||
|
@ -192,7 +190,9 @@
|
|||
#'utils.datetime/medium-date-time-format)]
|
||||
(is (= (datetime/day-relative epoch) "01 gen 1970, 12:00:00 AM")))))
|
||||
|
||||
(deftest format-mute-till-test
|
||||
;; TODO(@ibrkhalil): This test sometimes fail in the CI. Make the test agnostic
|
||||
;; of the current time and timezone.
|
||||
#_(deftest format-mute-till-test
|
||||
(let [remove-msecs #(string/replace % #"\.\w*Z" "Z")
|
||||
time-str-to-obj #(t.format/parse (remove-msecs (time-coerce/to-string %)))
|
||||
curr-time (t/now)
|
||||
|
|
Loading…
Reference in New Issue