Compact aliases together

pull/162/head
Luke Imhoff 7 years ago
parent 5fee144300
commit 7978c42e90
  1. 2
      apps/explorer/lib/explorer/indexer/block_fetcher.ex
  2. 4
      apps/explorer/test/support/data_case.ex
  3. 6
      apps/explorer_web/test/support/feature_case.ex

@ -8,9 +8,7 @@ defmodule Explorer.Indexer.BlockFetcher do
require Logger
alias Explorer.{Chain, Indexer, JSONRPC}
alias Explorer.Indexer.{AddressFetcher, Sequence}
alias Explorer.JSONRPC.Transactions
# dialyzer thinks that Logger.debug functions always have no_local_return

@ -16,8 +16,6 @@ defmodule Explorer.DataCase do
using do
quote do
alias Explorer.Repo
use ExVCR.Mock, adapter: ExVCR.Adapter.Hackney
import Ecto
@ -25,6 +23,8 @@ defmodule Explorer.DataCase do
import Ecto.Query
import Explorer.DataCase
import Explorer.Factory
alias Explorer.Repo
end
end

@ -8,14 +8,14 @@ defmodule ExplorerWeb.FeatureCase do
quote do
use Wallaby.DSL
alias Explorer.Repo
import Ecto
import Ecto.Changeset
import Ecto.Query
import ExplorerWeb.Router.Helpers
import Explorer.Factory
import ExplorerWeb.Factory
import ExplorerWeb.Router.Helpers
alias Explorer.Repo
end
end

Loading…
Cancel
Save