Skip to content

Commit d12a4cc

Browse files
Update src/test/editor.tests.js
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
1 parent e5fe7d5 commit d12a4cc

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/test/editor.tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export async function runAceEditorTests(writeOutput) {
4444
}
4545

4646
// Test 1: Ace is available
47-
runner.test("Ace is loaded", async (test) => {
48-
test.assert(typeof ace !== "undefined", "Ace should be available globally");
47+
test.assert(typeof ace === "object" && ace !== null, "Ace should be available globally as an object");
4948
test.assert(
5049
typeof ace.edit === "function",
5150
"ace.edit should be a function",

0 commit comments

Comments
 (0)