-
Notifications
You must be signed in to change notification settings - Fork 0
/
isValidCoordinate.test.js.snap
35 lines (23 loc) · 1.34 KB
/
isValidCoordinate.test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Error Snapshot Testing. Throws error: expect([0, 0, 0]).isValidCoordinate 1`] = `
"[2mexpect([22m[31m[longitude, latitude, (altitude)][39m[2m).isValidCoordinate()[22m
Latitude must be a number between -90 and 90.
Received: [31m[0, 95, 0][39m"
`;
exports[`Error Snapshot Testing. Throws error: expect([0, 0, 0]).not.isValidCoordinate 1`] = `
"[2mexpect([22m[31m[longitude, latitude, (altitude)][39m[2m).not.isValidCoordinate()[22m
Expected input to not be a two or three element array with longitude between (-90 to 90),
latitude between (-180 to 180), and (if a 3D coordinate) numeric altitude.
Received: [31m[0, 0, 0][39m"
`;
exports[`Error Snapshot Testing. Throws error: expect([0, 0]).isValidCoordinate 1`] = `
"[2mexpect([22m[31m[longitude, latitude, (altitude)][39m[2m).isValidCoordinate()[22m
Latitude must be a number between -90 and 90.
Received: [31m[0, 95][39m"
`;
exports[`Error Snapshot Testing. Throws error: expect([0, 0]).not.isValidCoordinate 1`] = `
"[2mexpect([22m[31m[longitude, latitude, (altitude)][39m[2m).not.isValidCoordinate()[22m
Expected input to not be a two or three element array with longitude between (-90 to 90),
latitude between (-180 to 180), and (if a 3D coordinate) numeric altitude.
Received: [31m[0, 0][39m"
`;