We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e5fe7d5 commit d12a4ccCopy full SHA for d12a4cc
src/test/editor.tests.js
@@ -44,8 +44,7 @@ export async function runAceEditorTests(writeOutput) {
44
}
45
46
// Test 1: Ace is available
47
- runner.test("Ace is loaded", async (test) => {
48
- test.assert(typeof ace !== "undefined", "Ace should be available globally");
+ test.assert(typeof ace === "object" && ace !== null, "Ace should be available globally as an object");
49
test.assert(
50
typeof ace.edit === "function",
51
"ace.edit should be a function",
0 commit comments