-
Notifications
You must be signed in to change notification settings - Fork 36
/
index.test.ts.snap
50 lines (37 loc) · 1.35 KB
/
index.test.ts.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Push error on empty project id 1`] = `
"Aborted. Invalid synthetics project settings.
Set project id via
- CLI '--id <id>'
- Config file 'project.id' field
Run 'npx @elastic/synthetics init' to create project with default settings.
"
`;
exports[`Push error on invalid location 1`] = `
"Aborted. Invalid synthetics project settings.
Set default location for all monitors via
- CLI '--locations <values...> or --privateLocations <values...>'
- Config file 'monitors.locations' | 'monitors.privateLocations' field
Run 'npx @elastic/synthetics init' to create project with default settings.
"
`;
exports[`Push error on invalid schedule 1`] = `
"Aborted. Invalid synthetics project settings.
Set default schedule(12) to one of the allowed values - 1,3,5,10,15,20,30,60,120,240
Run 'npx @elastic/synthetics init' to create project with default settings.
"
`;
exports[`Push error when schedule is not present 1`] = `
"Aborted. Invalid synthetics project settings.
Set default schedule in minutes for all monitors via
- CLI '--schedule <mins>'
- Config file 'monitors.schedule' field
Run 'npx @elastic/synthetics init' to create project with default settings.
"
`;
exports[`Push format duplicate monitors 1`] = `
"Aborted: Duplicate monitors found
* test - journey1.ts:2:5
* test - journey2.ts:10:5
"
`;