feat(test,ci): testing framework w/ ci integration
This commit is contained in:
parent
c91294f4bd
commit
e581baccac
6 changed files with 59 additions and 0 deletions
18
spec/init_spec.lua
Normal file
18
spec/init_spec.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
describe('cp.nvim', function()
|
||||
it('can be required', function()
|
||||
local cp = require('cp')
|
||||
assert.is_not_nil(cp)
|
||||
assert.is_function(cp.setup)
|
||||
assert.is_function(cp.handle_command)
|
||||
end)
|
||||
|
||||
it('has health check', function()
|
||||
local health = require('cp.health')
|
||||
assert.is_not_nil(health)
|
||||
end)
|
||||
|
||||
it('initializes properly', function()
|
||||
local cp = require('cp')
|
||||
assert.is_true(cp.is_initialized())
|
||||
end)
|
||||
end)
|
||||
Loading…
Add table
Add a link
Reference in a new issue