Skip to content

Commit d0d655d

Browse files
committed
[#360] [stbx-core] fix imports
1 parent b8448ca commit d0d655d

File tree

2 files changed

+4
-12
lines changed

2 files changed

+4
-12
lines changed

stbx-core/test/Statebox/Core.purs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,12 @@ module Test.Statebox.Core where
22

33
import Prelude
44
import Data.Either (Either(..))
5-
import Effect.Class (liftEffect)
6-
import Effect.Console (log)
75

86
import Statebox.Core as Stbx
97

108
import Test.Spec (Spec, describe, it)
119
import Test.Spec.Assertions (shouldEqual)
1210

13-
import Debug.Trace (spy)
14-
1511
-- | We define this FFI value in order to load the FFI module, which imports (requires) stbx.js.
1612
foreign import requireStbxJs_HACK :: String
1713

stbx-core/test/Statebox/Core/Transaction/Codec.purs

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,17 @@ module Test.Statebox.Core.Transaction.Codec where
22

33
import Prelude
44

5-
import Data.Argonaut.Core (Json)
65
import Data.Argonaut.Decode (decodeJson)
76
import Data.Argonaut.Parser (jsonParser)
87
import Data.Either.Nested (type (\/))
9-
import Data.Either (Either(..), either)
8+
import Data.Either (either)
109
import Data.NonEmpty (singleton) as NonEmpty
1110
import Debug.Trace (spy)
12-
import Test.Spec (Spec, pending, describe, it)
11+
import Test.Spec (Spec, describe, it)
1312
import Test.Spec.Assertions (shouldEqual, fail)
14-
import Test.Spec.Reporter.Console (consoleReporter)
15-
import Test.Spec.Runner (run)
1613

17-
import Statebox.Core.Transaction (TxSum(..), Tx, FiringTx, evalTxSum)
18-
import Statebox.Core.Types (Firing)
19-
import Statebox.Core.Transaction.Codec (decodeTxTxSum, decodeFiringTx, decodeTxFiringTx)
14+
import Statebox.Core.Transaction (FiringTx, Tx, TxSum, evalTxSum)
15+
import Statebox.Core.Transaction.Codec (decodeTxTxSum, decodeFiringTx)
2016

2117
suite :: Spec Unit
2218
suite = do

0 commit comments

Comments
 (0)