mirror of
https://github.com/pnx/neotest-phpunit
synced 2026-06-16 03:54:55 +02:00
Remove leftover notify calls
This commit is contained in:
parent
51217960f8
commit
52f9aab7a2
3 changed files with 2 additions and 17 deletions
|
|
@ -4,20 +4,6 @@ local utils = require('neotest-pest.utils')
|
|||
local config = require('neotest-pest.config')
|
||||
local debug = logger.debug
|
||||
|
||||
local notify = function(msg, level)
|
||||
vim.notify(msg, level, {
|
||||
title = "neotest-pest",
|
||||
})
|
||||
end
|
||||
|
||||
local error = function(msg)
|
||||
notify(msg, "error")
|
||||
end
|
||||
|
||||
local info = function(msg)
|
||||
notify(msg, "info")
|
||||
end
|
||||
|
||||
---@class neotest.Adapter
|
||||
---@field name string
|
||||
local NeotestAdapter = { name = "neotest-pest" }
|
||||
|
|
|
|||
|
|
@ -5,7 +5,6 @@ local separator = "::"
|
|||
|
||||
---Generate an id which we can use to match Treesitter queries and Pest tests
|
||||
---@param position neotest.Position The position to return an ID for
|
||||
---@param namespace neotest.Position[] Any namespaces the position is within
|
||||
---@return string
|
||||
M.make_test_id = function(position)
|
||||
-- Treesitter ID needs to look like 'tests/Unit/ColsHelperTest.php::it returns the proper format'
|
||||
|
|
@ -63,7 +62,7 @@ end
|
|||
---Make the outputs for a given test
|
||||
---@param test table
|
||||
---@param output_file string
|
||||
---@return table
|
||||
---@return string, table
|
||||
local function make_outputs(test, output_file)
|
||||
logger.debug("Pre-output test:", test)
|
||||
local test_attr = test["_attr"] or test[1]["_attr"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue