Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

README.md

proxyquire.lua

Allows Lua modules to be overridden during testing. See https://github.com/thlorenz/proxyquire.

Example

local fake_module_1 = { ... }
local fake_module_2 = { ... }

local module_under_test = proxyquire('module_under_test', {
  module_1 = fake_module_1,
  module_2 = fake_module_2
})

About

Allows Lua modules to be overridden during testing. See https://github.com/thlorenz/proxyquire.

Resources

License

Packages

No packages published

Languages

You can’t perform that action at this time.