Skip to content

Commit

Permalink
remove not needed server starts in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Aug 16, 2023
1 parent bedd393 commit 7bac14e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 20 deletions.
10 changes: 0 additions & 10 deletions apps/language_server/test/providers/code_lens/test_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,6 @@ defmodule ElixirLS.LanguageServer.Providers.CodeLens.TestTest do

@project_dir "/project"

setup context do
unless context[:skip_server] do
server = ElixirLS.LanguageServer.Test.ServerTestHelpers.start_server()

{:ok, %{server: server}}
else
:ok
end
end

test "returns all module code lenses" do
uri = "file:///project/file.ex"

Expand Down
10 changes: 0 additions & 10 deletions apps/language_server/test/providers/completion_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,6 @@ defmodule ElixirLS.LanguageServer.Providers.CompletionTest do
"command" => "editor.action.triggerParameterHints"
}

setup context do
unless context[:skip_server] do
server = ElixirLS.LanguageServer.Test.ServerTestHelpers.start_server()

{:ok, %{server: server}}
else
:ok
end
end

test "do is returned" do
text = """
defmodule MyModule do
Expand Down

0 comments on commit 7bac14e

Please sign in to comment.