mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 16:36:27 +00:00
test: enable Node-test on namespaces with dependency on hickory
This commit is contained in:
@@ -60,6 +60,8 @@
|
||||
nil)))
|
||||
|
||||
(defn- try-parse-as-json
|
||||
"Result is not only to be an Object.
|
||||
Maybe JSON types like string, number, boolean, null, array"
|
||||
[text]
|
||||
(try (js/JSON.parse text)
|
||||
(catch :default _ #js{})))
|
||||
|
||||
Reference in New Issue
Block a user