We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af97d63 commit 6e238abCopy full SHA for 6e238ab
tests/devto-nvim/setup_spec.lua
@@ -23,7 +23,7 @@ describe(
23
local snapshot
24
25
before_each(function()
26
- vim.env.devto_API_KEY = "foo"
+ vim.env.DEVTO_API_KEY = "foo"
27
_G.package.loaded["devto-nvim"] = nil
28
devto_nvim = require("devto-nvim")
29
snapshot = assert:snapshot()
@@ -36,7 +36,7 @@ describe(
36
it(
37
"should show a notification when no api key is set",
38
function()
39
- vim.env.devto_API_KEY = nil
+ vim.env.DEVTO_API_KEY = nil
40
stub.new(vim, "notify")
41
devto_nvim.my_articles()
42
assert.stub(vim.notify).was.called()
0 commit comments