forked from sebholstein/angular-google-maps
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjest.setup.ts
More file actions
29 lines (29 loc) · 732 Bytes
/
jest.setup.ts
File metadata and controls
29 lines (29 loc) · 732 Bytes
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
import 'jest-preset-angular';
(window as any).google = {
maps: {
Animation: { BOUNCE: 1, DROP: 2 },
GeocoderStatus: {
OK: 'OK',
UNKNOWN_ERROR: 'UNKNOWN_ERROR',
OVER_QUERY_LIMIT: 'OVER_QUERY_LIMIT',
REQUEST_DENIED: 'REQUEST_DENIED',
INVALID_REQUEST: 'INVALID_REQUEST',
ZERO_RESULTS: 'ZERO_RESULTS',
ERROR: 'ERROR',
},
MapTypeId: {
ROADMAP: 'roadmap',
SATELLITE: 'satellite',
HYBRID: 'hybrid',
TERRAIN: 'terrain',
},
StrokePosition: { CENTER: 0, INSIDE: 1, OUTSIDE: 2 },
SymbolPath: {
BACKWARD_CLOSED_ARROW: 3,
BACKWARD_OPEN_ARROW: 4,
CIRCLE: 0,
FORWARD_CLOSED_ARROW: 1,
FORWARD_OPEN_ARROW: 2,
},
}
};