From f5569f6785e675aaa01db9e44e0afcd065d6ba15 Mon Sep 17 00:00:00 2001 From: William Boman Date: Wed, 11 May 2022 16:13:17 +0200 Subject: chore: remove old test --- tests/server_spec.lua | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'tests/server_spec.lua') diff --git a/tests/server_spec.lua b/tests/server_spec.lua index d1ecbb6a..f8c3206f 100644 --- a/tests/server_spec.lua +++ b/tests/server_spec.lua @@ -52,28 +52,4 @@ describe("server", function() assert.is_false(srv:is_installed()) end) ) - - it( - "should be able to run sync installer functions", - async_test(function() - local srv = ServerGenerator { - name = "async_installer_fixture", - root_dir = server.get_server_root_path "async_installer_fixture", - async = false, - installer = function(_, callback) - vim.defer_fn(function() - callback(true) - end, 130) - end, - } - local start = timestamp() - srv:install() - a.sleep(100) - assert.wait_for(function() - assert.is_true(srv:is_installed()) - end) - local stop = timestamp() - assert.is_true(stop - start >= 100) - end) - ) end) -- cgit v1.2.3-70-g09d2