Added tests for toggles
This commit is contained in:
10
test/GlobalsForTesting.js
Normal file
10
test/GlobalsForTesting.js
Normal file
@@ -0,0 +1,10 @@
|
||||
export function l(id) {
|
||||
if (global.domids[id] === undefined) global.domids[id] = { style: {} };
|
||||
return global.domids[id];
|
||||
}
|
||||
|
||||
export const Game = {
|
||||
DrawBackground() {},
|
||||
Background: { canvas: { parentNode: {} } },
|
||||
LeftBackground: { canvas: { parentNode: {} } },
|
||||
};
|
||||
Reference in New Issue
Block a user