Skip to content

Commit

Permalink
Added setLooping to mock audio source
Browse files Browse the repository at this point in the history
  • Loading branch information
tredfern committed Feb 21, 2021
1 parent b65ce49 commit 03c594e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions moonpie/test_helpers/mock_love.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ local image = setmetatable({
local audioClip = setmetatable({
pause = function() end,
play = function() end,
setLooping = function() end,
setVolume = function() end,
stop = function() end,
}, { __newindex = function() error("Love does not allow this") end })
Expand Down

0 comments on commit 03c594e

Please sign in to comment.