Use test dir
This commit is contained in:
parent
be8db33349
commit
526835fcf0
|
@ -3,7 +3,15 @@
|
|||
|
||||
(def native-status (js/require "../../modules/react-native-status/nodejs/bindings"))
|
||||
|
||||
(def test-dir "/tmp")
|
||||
(def fs (js/require "fs"))
|
||||
(def path (js/require "path"))
|
||||
(def os (js/require "os"))
|
||||
|
||||
(def tmpdir (.tmpdir os))
|
||||
|
||||
(def test-dir-prefix (.join path tmpdir "status-mobile-tests"))
|
||||
|
||||
(def test-dir (.mkdtempSync fs test-dir-prefix))
|
||||
|
||||
(defn signal-received-callback [a]
|
||||
(re-frame/dispatch [:signals/signal-received a]))
|
||||
|
|
Loading…
Reference in New Issue