Skip to content

Commit

Permalink
remove unused live tests (#165)
Browse files Browse the repository at this point in the history
* remove unused live tests

* update dhall files

* tidy
  • Loading branch information
martyall authored Sep 7, 2023
1 parent 51eae75 commit 14f0f42
Show file tree
Hide file tree
Showing 36 changed files with 16 additions and 1,495 deletions.
34 changes: 15 additions & 19 deletions spago.dhall
Original file line number Diff line number Diff line change
@@ -1,45 +1,41 @@
{-
Welcome to a Spago project!
You can edit this file as you like.
-}
{ name = "web3"
, dependencies =
[ "aff"
, "coroutines"
, "coroutine-transducers"
, "effect"
, "errors"
, "eth-core"
, "foreign"
, "fork"
, "heterogeneous"
, "parsing"
, "partial"
, "profunctor-lenses"
, "tagged"
, "transformers"
, "typelevel-prelude"
, "variant"
, "argonaut"
, "arrays"
, "bifunctors"
, "bytestrings"
, "control"
, "coroutine-transducers"
, "coroutines"
, "effect"
, "either"
, "errors"
, "eth-core"
, "exceptions"
, "foldable-traversable"
, "foreign"
, "foreign-object"
, "fork"
, "heterogeneous"
, "maybe"
, "newtype"
, "parallel"
, "parsing"
, "partial"
, "prelude"
, "profunctor-lenses"
, "record"
, "ring-modules"
, "simple-json"
, "strings"
, "tagged"
, "tailrec"
, "transformers"
, "tuples"
, "typelevel-prelude"
, "unfoldable"
, "variant"
]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
Expand Down
21 changes: 0 additions & 21 deletions test.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -6,29 +6,8 @@ in conf
conf.dependencies
# [ "spec"
, "node-buffer"
, "argonaut"
, "arrays"
, "bifunctors"
, "bytestrings"
, "control"
, "either"
, "exceptions"
, "foldable-traversable"
, "foreign-object"
, "lists"
, "maybe"
, "newtype"
, "orders"
, "parallel"
, "prelude"
, "quotient"
, "record"
, "ring-modules"
, "simple-json"
, "strings"
, "tailrec"
, "tuples"
, "unfoldable"
, "unsafe-coerce"
, "avar"
, "console"
Expand Down
10 changes: 0 additions & 10 deletions test/chanterelle/.gitignore

This file was deleted.

11 changes: 0 additions & 11 deletions test/chanterelle/README.md

This file was deleted.

21 changes: 0 additions & 21 deletions test/chanterelle/chanterelle.json

This file was deleted.

31 changes: 0 additions & 31 deletions test/chanterelle/contracts/ComplexStorage.sol

This file was deleted.

23 changes: 0 additions & 23 deletions test/chanterelle/contracts/Migrations.sol

This file was deleted.

10 changes: 0 additions & 10 deletions test/chanterelle/contracts/MockERC20.sol

This file was deleted.

16 changes: 0 additions & 16 deletions test/chanterelle/contracts/Multifilter.sol

This file was deleted.

14 changes: 0 additions & 14 deletions test/chanterelle/contracts/PayableTest.sol

This file was deleted.

13 changes: 0 additions & 13 deletions test/chanterelle/contracts/SimpleErrorTest.sol

This file was deleted.

18 changes: 0 additions & 18 deletions test/chanterelle/contracts/SimpleStorage.sol

This file was deleted.

25 changes: 0 additions & 25 deletions test/chanterelle/package.json

This file was deleted.

9 changes: 0 additions & 9 deletions test/chanterelle/packages.dhall

This file was deleted.

10 changes: 0 additions & 10 deletions test/chanterelle/spago.dhall

This file was deleted.

9 changes: 0 additions & 9 deletions test/chanterelle/src/Main.purs

This file was deleted.

21 changes: 1 addition & 20 deletions test/web3/Main.purs
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,14 @@ import Effect (Effect)
import Effect.Aff (Aff, Milliseconds(..), launchAff_)
import Effect.Class (liftEffect)
import Network.Ethereum.Web3.Types.Provider (httpProvider)
import Test.Spec (Spec, SpecT, parallel, mapSpecTree)
import Test.Spec (Spec, SpecT, mapSpecTree)
import Test.Spec.Reporter.Console (consoleReporter)
import Test.Spec.Runner (defaultConfig, runSpecT)
import Web3Spec.Encoding.ContainersSpec as EncodingContainersSpec
import Web3Spec.Encoding.DataSpec as EncodingDataSpec
import Web3Spec.Encoding.GenericSpec as EncodingGenericSpec
import Web3Spec.Encoding.SimpleSpec as EncodingSimpleSpec
import Web3Spec.Live.SimpleStorageSpec as SimpleStorageSpec
import Web3Spec.Live.ComplexStorageSpec as ComplexStorageSpec
import Web3Spec.Live.MockERC20Spec as MockERC20Spec
import Web3Spec.Live.PayableTestSpec as PayableTestSpec
import Web3Spec.Live.SimpleErrorTestSpec as SimpleErrorTestSpec
import Web3Spec.Live.MultifilterSpec as MultifilterSpec
import Web3Spec.Live.RPCSpec as RPCSpec
import Web3Spec.Live.FilterSpec as FilterSpec
import Web3Spec.Types.EtherUnitSpec as EtherUnitSpec
import Web3Spec.Types.VectorSpec as VectorSpec

Expand All @@ -42,18 +35,6 @@ main =
EncodingGenericSpec.spec
EtherUnitSpec.spec
RPCSpec.spec p
FilterSpec.spec p
-- payable spec can't be run in parallel :/
PayableTestSpec.spec p
-- all of these tests only have one `it` statement and
-- are dealing with separate contracts so they can be run
-- in parallel
parallel do
SimpleStorageSpec.spec p
ComplexStorageSpec.spec p
MockERC20Spec.spec p
SimpleErrorTestSpec.spec p
MultifilterSpec.spec p
where
hoist :: Spec ~> SpecT Aff Unit Aff
hoist = mapSpecTree (pure <<< un Identity) identity
9 changes: 0 additions & 9 deletions test/web3/Web3Spec/Live/Code/ComplexStorage.purs

This file was deleted.

9 changes: 0 additions & 9 deletions test/web3/Web3Spec/Live/Code/MockERC20.purs

This file was deleted.

9 changes: 0 additions & 9 deletions test/web3/Web3Spec/Live/Code/Multifilter.purs

This file was deleted.

Loading

0 comments on commit 14f0f42

Please sign in to comment.