Skip to content

Commit 7bb2f16

Browse files
committed
Update paths / snapshots
1 parent fca275c commit 7bb2f16

2 files changed

Lines changed: 2 additions & 74 deletions

File tree

app/util/__snapshots__/path-builder.spec.ts.snap

Lines changed: 1 addition & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -2,43 +2,7 @@
22

33
exports[`breadcrumbs 2`] = `
44
{
5-
"affinityGroup (/projects/p/affinity/ag)": [
6-
{
7-
"label": "Projects",
8-
"path": "/projects",
9-
},
10-
{
11-
"label": "p",
12-
"path": "/projects/p/instances",
13-
},
14-
{
15-
"label": "Affinity",
16-
"path": "/projects/p/affinity",
17-
},
18-
{
19-
"label": "ag",
20-
"path": "/projects/p/affinity/ag",
21-
},
22-
],
23-
"affinityGroupNew (/projects/p/affinity/affinity-groups-new)": [
24-
{
25-
"label": "Projects",
26-
"path": "/projects",
27-
},
28-
{
29-
"label": "p",
30-
"path": "/projects/p/instances",
31-
},
32-
{
33-
"label": "Affinity",
34-
"path": "/projects/p/affinity",
35-
},
36-
{
37-
"label": "affinity-groups-new",
38-
"path": "/projects/p/affinity/affinity-groups-new",
39-
},
40-
],
41-
"affinityGroups (/projects/p/affinity)": [
5+
"affinity (/projects/p/affinity)": [
426
{
437
"label": "Projects",
448
"path": "/projects",
@@ -70,38 +34,6 @@ exports[`breadcrumbs 2`] = `
7034
"path": "/projects/p/affinity/aag",
7135
},
7236
],
73-
"antiAffinityGroupNew (/projects/p/affinity/anti-affinity-groups-new)": [
74-
{
75-
"label": "Projects",
76-
"path": "/projects",
77-
},
78-
{
79-
"label": "p",
80-
"path": "/projects/p/instances",
81-
},
82-
{
83-
"label": "Affinity",
84-
"path": "/projects/p/affinity",
85-
},
86-
{
87-
"label": "anti-affinity-groups-new",
88-
"path": "/projects/p/affinity/anti-affinity-groups-new",
89-
},
90-
],
91-
"antiAffinityGroups (/projects/p/affinity)": [
92-
{
93-
"label": "Projects",
94-
"path": "/projects",
95-
},
96-
{
97-
"label": "p",
98-
"path": "/projects/p/instances",
99-
},
100-
{
101-
"label": "Affinity",
102-
"path": "/projects/p/affinity",
103-
},
104-
],
10537
"deviceSuccess (/device/success)": [],
10638
"diskInventory (/system/inventory/disks)": [
10739
{

app/util/path-builder.spec.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,8 @@ test('path builder', () => {
4141
expect(Object.fromEntries(Object.entries(pb).map(([key, fn]) => [key, fn(params)])))
4242
.toMatchInlineSnapshot(`
4343
{
44-
"affinityGroup": "/projects/p/affinity/ag",
45-
"affinityGroupNew": "/projects/p/affinity/affinity-groups-new",
46-
"affinityGroups": "/projects/p/affinity",
44+
"affinity": "/projects/p/affinity",
4745
"antiAffinityGroup": "/projects/p/affinity/aag",
48-
"antiAffinityGroupNew": "/projects/p/affinity/anti-affinity-groups-new",
49-
"antiAffinityGroups": "/projects/p/affinity",
5046
"deviceSuccess": "/device/success",
5147
"diskInventory": "/system/inventory/disks",
5248
"disks": "/projects/p/disks",

0 commit comments

Comments
 (0)