aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-ui-common/components/__tests__/__snapshots__/lazyLoadComponent-test.tsx.snap
blob: 7f00f47e2061b0c389749f4f595bf065a3eccf91 (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
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`should correctly set given display name 1`] = `
<div>
  <CustomDisplayName />
</div>
`;

exports[`should lazy load and display the component 1`] = `
<LazyComponentWrapper>
  <LazyErrorBoundary>
    <Suspense
      fallback={null}
    />
  </LazyErrorBoundary>
</LazyComponentWrapper>
`;

exports[`should lazy load and display the component 2`] = `null`;

exports[`should lazy load and display the component 3`] = `
<LazyComponentWrapper>
  <LazyErrorBoundary>
    <Suspense
      fallback={null}
    >
      <Checkbox>
        <a
          className="icon-checkbox"
          href="#"
          onClick={[Function]}
          role="checkbox"
        />
      </Checkbox>
    </Suspense>
  </LazyErrorBoundary>
</LazyComponentWrapper>
`;

exports[`should lazy load and display the component 4`] = `
<a
  class="icon-checkbox"
  href="#"
  role="checkbox"
/>
`;