(text = "")
| 14 | } |
| 15 | |
| 16 | async function createTestFile(text = "") { |
| 17 | const EditorFile = acode.require("editorFile"); |
| 18 | const file = new EditorFile("__ace_test__.txt", { |
| 19 | text, |
| 20 | render: true, |
| 21 | }); |
| 22 | await new Promise((r) => setTimeout(r, 100)); |
| 23 | return file; |
| 24 | } |
| 25 | |
| 26 | runner.test("editorManager.editor exists", (test) => { |
| 27 | test.assert( |
no test coverage detected