test fixes

This commit is contained in:
bryanthaboi
2026-08-04 09:41:44 -04:00
parent b1350fdecd
commit dd4aface93
7 changed files with 66 additions and 28 deletions
+7
View File
@@ -348,6 +348,7 @@ function ImageData:getDimensions() return self.w, self.h end
function ImageData:getPixel() return 0, 0, 0, 1 end
function ImageData:setPixel() end
function ImageData:mapPixel() end
function ImageData:paste() end
function ImageData:encode() return { getString = function() return "" end } end
stub.image = {
@@ -362,6 +363,12 @@ stub.image = {
end,
}
-- Headless runs report the desktop OS so platform gates (GamepadMap's NX
-- check, the touch-overlay filter) take their desktop branch.
stub.system = {
getOS = function() return "OS X" end,
}
-- Desktop / headless: full-window safe area (matches LÖVE's fallback).
stub.window = {
getSafeArea = function()