]> source.dussan.org Git - sonarqube.git/blob
d538064e72cc740a673e02b779dde4155f099cbb
[sonarqube.git] /
1 // Jest Snapshot v1, https://goo.gl/fbAQLP
2
3 exports[`should render and create organization 1`] = `
4 <div>
5   <OrganizationDetailsStep
6     finished={false}
7     onOpen={[Function]}
8     open={true}
9   >
10     <OrganizationDetailsForm
11       onContinue={[Function]}
12       submitText="continue"
13     />
14   </OrganizationDetailsStep>
15   <PlanStep
16     createOrganization={[Function]}
17     deleteOrganization={[Function]}
18     onFreePlanChoose={[Function]}
19     onPaidPlanChoose={[Function]}
20     open={false}
21     startingPrice="billing.price_format.10"
22     subscriptionPlans={
23       Array [
24         Object {
25           "maxNcloc": 100000,
26           "price": 10,
27         },
28         Object {
29           "maxNcloc": 250000,
30           "price": 75,
31         },
32       ]
33     }
34   />
35 </div>
36 `;
37
38 exports[`should render and create organization 2`] = `
39 <div>
40   <OrganizationDetailsStep
41     finished={true}
42     onOpen={[Function]}
43     open={false}
44     organization={
45       Object {
46         "avatar": "http://example.com/avatar",
47         "description": "description-foo",
48         "key": "key-foo",
49         "name": "name-foo",
50         "url": "http://example.com/foo",
51       }
52     }
53   >
54     <OrganizationDetailsForm
55       onContinue={[Function]}
56       organization={
57         Object {
58           "avatar": "http://example.com/avatar",
59           "description": "description-foo",
60           "key": "key-foo",
61           "name": "name-foo",
62           "url": "http://example.com/foo",
63         }
64       }
65       submitText="continue"
66     />
67   </OrganizationDetailsStep>
68   <PlanStep
69     createOrganization={[Function]}
70     deleteOrganization={[Function]}
71     onFreePlanChoose={[Function]}
72     onPaidPlanChoose={[Function]}
73     open={true}
74     startingPrice="billing.price_format.10"
75     subscriptionPlans={
76       Array [
77         Object {
78           "maxNcloc": 100000,
79           "price": 10,
80         },
81         Object {
82           "maxNcloc": 250000,
83           "price": 75,
84         },
85       ]
86     }
87   />
88 </div>
89 `;