Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/e2b-dev/desktop
/ mouse.test.ts
File
mouse.test.ts
packages/js-sdk/tests/mouse.test.ts:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
{ expect } from
'vitest'
2
import
{ sandboxTest, wait } from
'./setup'
3
4
sandboxTest(
'cursor position'
,
async
({ sandbox }) => {
Callers
nothing calls this directly
Calls
4
wait
Function · 0.90
getCursorPosition
Method · 0.80
getScreenSize
Method · 0.80
moveMouse
Method · 0.80
Tested by
no test coverage detected