summaryrefslogtreecommitdiff
path: root/spec/frontend/ci/runner/components/registration/__snapshots__/utils_spec.js.snap
blob: c1cc6aa07a22d8ad360e9edcf19257af5d3fe204 (plain)
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
51
52
53
54
55
56
57
58
59
60
61
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`registration utils for "linux" platform commandPrompt matches snapshot 1`] = `"$"`;

exports[`registration utils for "linux" platform commandPrompt matches snapshot 2`] = `"$"`;

exports[`registration utils for "linux" platform registerCommand matches snapshot 1`] = `
Array [
  "gitlab-runner register",
  "  --url http://test.host",
  "  --registration-token REGISTRATION_TOKEN",
]
`;

exports[`registration utils for "linux" platform registerCommand matches snapshot 2`] = `
Array [
  "gitlab-runner register",
  "  --url http://test.host",
  "  --registration-token REGISTRATION_TOKEN",
]
`;

exports[`registration utils for "linux" platform runCommand matches snapshot 1`] = `"gitlab-runner run"`;

exports[`registration utils for "linux" platform runCommand matches snapshot 2`] = `"gitlab-runner run"`;

exports[`registration utils for "null" platform commandPrompt matches snapshot 1`] = `"$"`;

exports[`registration utils for "null" platform registerCommand matches snapshot 1`] = `
Array [
  "gitlab-runner register",
  "  --url http://test.host",
  "  --registration-token REGISTRATION_TOKEN",
]
`;

exports[`registration utils for "null" platform runCommand matches snapshot 1`] = `"gitlab-runner run"`;

exports[`registration utils for "osx" platform commandPrompt matches snapshot 1`] = `"$"`;

exports[`registration utils for "osx" platform registerCommand matches snapshot 1`] = `
Array [
  "gitlab-runner register",
  "  --url http://test.host",
  "  --registration-token REGISTRATION_TOKEN",
]
`;

exports[`registration utils for "osx" platform runCommand matches snapshot 1`] = `"gitlab-runner run"`;

exports[`registration utils for "windows" platform commandPrompt matches snapshot 1`] = `">"`;

exports[`registration utils for "windows" platform registerCommand matches snapshot 1`] = `
Array [
  ".\\\\gitlab-runner.exe register",
  "  --url http://test.host",
  "  --registration-token REGISTRATION_TOKEN",
]
`;

exports[`registration utils for "windows" platform runCommand matches snapshot 1`] = `".\\\\gitlab-runner.exe run"`;