Tienson Qin 8 месяцев назад
Родитель
Сommit
4abbdd0fce
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      src/test/frontend/worker/commands_test.cljs

+ 2 - 2
src/test/frontend/worker/commands_test.cljs

@@ -1,7 +1,7 @@
 (ns frontend.worker.commands-test
 (ns frontend.worker.commands-test
   (:require [cljs-time.coerce :as tc]
   (:require [cljs-time.coerce :as tc]
             [cljs-time.core :as t]
             [cljs-time.core :as t]
-            [cljs.test :refer [deftest is are testing]]
+            [cljs.test :refer [deftest is testing]]
             [frontend.worker.commands :as commands]))
             [frontend.worker.commands :as commands]))
 
 
 (def get-next-time #'commands/get-next-time)
 (def get-next-time #'commands/get-next-time)
@@ -87,7 +87,7 @@
       (let [next-time (get-next-time one-year-ago year-unit 5)]
       (let [next-time (get-next-time one-year-ago year-unit 5)]
         (is (= 4 (in-years next-time)))))
         (is (= 4 (in-years next-time)))))
 
 
-    (testing "perserves week day"
+    (testing "preserves week day"
       (let [next-time (get-next-time now week-unit 1)]
       (let [next-time (get-next-time now week-unit 1)]
         (is (= (t/day-of-week (tc/from-long next-time)) (t/day-of-week now))))
         (is (= (t/day-of-week (tc/from-long next-time)) (t/day-of-week now))))
       (let [next-time (get-next-time one-week-ago week-unit 1)]
       (let [next-time (get-next-time one-week-ago week-unit 1)]