fix: tests

feat/datascript-storage-test
Tienson Qin 2023-12-11 18:57:09 +08:00
parent 5712d84b0b
commit 4437534685
1 changed files with 10 additions and 8 deletions

View File

@ -1554,11 +1554,13 @@ Arg *stop: atom, reset to true to stop the loop"
(defn parse-params
"Parse URL parameters into a hashmap"
[]
(->> js/window
(.-location)
(.-search)
(new js/URLSearchParams)
(seq)
(js->clj)
(into {})
(walk/keywordize-keys))))
(if node-test?
{}
(->> js/window
(.-location)
(.-search)
(new js/URLSearchParams)
(seq)
(js->clj)
(into {})
(walk/keywordize-keys)))))