This commit is contained in:
2026-01-23 15:06:54 -06:00
parent 39fb28d8bc
commit d3829b4f51

View File

@@ -10,10 +10,10 @@ def TEST_APP_ID = "1446585686789586975"
return {
// Test that the module loads correctly
test_module_loads: function() {
if (typeof discord != 'object') throw "Discord module should be an object"
if (typeof discord.init != 'function') throw "discord.init should be a function"
if (typeof discord.run_callbacks != 'function') throw "discord.run_callbacks should be a function"
if (typeof discord.shutdown != 'function') throw "discord.shutdown should be a function"
if (!is_object(discord)) throw "Discord module should be an object"
if (!is_function(discord.init)) throw "discord.init should be a function"
if (!is_function(discord.run_callbacks)) throw "discord.run_callbacks should be a function"
if (!is_function(discord.shutdown)) throw "discord.shutdown should be a function"
},
// Test initialization