mirror of
https://github.com/electron/electron.git
synced 2026-02-10 15:15:43 -05:00
10 lines
287 B
CoffeeScript
10 lines
287 B
CoffeeScript
assert = require 'assert'
|
|
screen = require 'screen'
|
|
|
|
describe 'screen module', ->
|
|
describe 'screen.getCursorScreenPoint()', ->
|
|
it 'returns a point object', ->
|
|
point = screen.getCursorScreenPoint()
|
|
assert typeof(point.x), 'number'
|
|
assert typeof(point.y), 'number'
|