summaryrefslogtreecommitdiffstats
path: root/remote/test/puppeteer/test/golden-chrome/jscoverage-involved.txt
blob: 016b30bde8b54bd5fe5522582867dcbb3916724f (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
[
  {
    "url": "http://localhost:<PORT>/jscoverage/involved.html",
    "ranges": [
      {
        "start": 0,
        "end": 35
      },
      {
        "start": 50,
        "end": 100
      },
      {
        "start": 107,
        "end": 141
      },
      {
        "start": 148,
        "end": 168
      },
      {
        "start": 203,
        "end": 204
      },
      {
        "start": 238,
        "end": 251
      },
      {
        "start": 259,
        "end": 298
      }
    ],
    "text": "\nfunction foo() {\n  if (1 > 2)\n    console.log(1);\n  if (1 < 2)\n    console.log(2);\n  let x = 1 > 2 ? 'foo' : 'bar';\n  let y = 1 < 2 ? 'foo' : 'bar';\n  let p = {a:1 > 2?function(){console.log('unused');}:function(){console.log('unused');}};\n  let z = () => {};\n  let q = () => {};\n  q();\n}\n\nfoo();\n"
  }
]