• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Tests that watchPosition correctly reports position updates and errors from the Geolocation service.
2
3On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6PASS position.coords.latitude is mockLatitude
7PASS position.coords.longitude is mockLongitude
8PASS position.coords.accuracy is mockAccuracy
9
10PASS position.coords.latitude is mockLatitude
11PASS position.coords.longitude is mockLongitude
12PASS position.coords.accuracy is mockAccuracy
13
14PASS error.code is mockCode
15PASS error.message is mockMessage
16
17PASS position.coords.latitude is mockLatitude
18PASS position.coords.longitude is mockLongitude
19PASS position.coords.accuracy is mockAccuracy
20
21PASS successfullyParsed is true
22
23TEST COMPLETE
24
25