Skip to content

Commit

Permalink
apply details.module
Browse files Browse the repository at this point in the history
  • Loading branch information
chronolaw committed Sep 4, 2024
1 parent cb1179a commit 31164f1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spec/helpers.lua
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,7 @@ local strip = require("kong.tools.string").strip
local splitlines = require("pl.stringx").splitlines


local function reload_module(name)
package.loaded[name] = nil
return require(name)
end
local reload_module = require("spec.details.module").reload


-- reload some modules when env or _G changes
Expand Down

0 comments on commit 31164f1

Please sign in to comment.