mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 21:14:28 -08:00
fix self-hosted test
This commit is contained in:
@@ -2945,7 +2945,7 @@ const y = x()`
|
|||||||
|
|
||||||
test('async/await move_cursor before code evaluated', async () => {
|
test('async/await move_cursor before code evaluated', async () => {
|
||||||
const i = test_initial_state(`
|
const i = test_initial_state(`
|
||||||
await new Promise(resolve => globalThis.setTimeout(resolve, 1))
|
await new Promise(resolve => null)
|
||||||
`)
|
`)
|
||||||
const moved = COMMANDS.move_cursor(i, 0)
|
const moved = COMMANDS.move_cursor(i, 0)
|
||||||
// No assertion, must not throw
|
// No assertion, must not throw
|
||||||
|
|||||||
Reference in New Issue
Block a user