| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,4 +7,4 @@ interface CallSite { | |||
| 7 | 7 | ||
| 8 | 8 | const callSite = getCallSites({ sourceMap: false })[0]; | |
| 9 | 9 | ||
| 10 | - console.log('mapCallSite: ', callSite); | ||
| 10 | + console.log('mapCallSites: ', callSite); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -7,4 +7,4 @@ interface CallSite { | |||
| 7 | 7 | ||
| 8 | 8 | const callSite = getCallSites()[0]; | |
| 9 | 9 | ||
| 10 | - console.log('getCallSite: ', callSite); | ||
| 10 | + console.log('getCallSites: ', callSite); | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -131,15 +131,15 @@ const assert = require('node:assert'); | |||
| 131 | 131 | const { status, stderr, stdout } = spawnSync(process.execPath, [ | |
| 132 | 132 | '--no-warnings', | |
| 133 | 133 | '--experimental-transform-types', | |
| 134 | - fixtures.path('typescript/ts/test-get-callsite.ts'), | ||
| 134 | + fixtures.path('typescript/ts/test-get-callsites.ts'), | ||
| 135 | 135 | ]); | |
| 136 | 136 | ||
| 137 | 137 | const output = stdout.toString(); | |
| 138 | 138 | assert.strictEqual(stderr.toString(), ''); | |
| 139 | 139 | assert.match(output, /lineNumber: 8/); | |
| 140 | 140 | assert.match(output, /column: 18/); | |
| 141 | 141 | assert.match(output, /columnNumber: 18/); | |
| 142 | - assert.match(output, /test-get-callsite\.ts/); | ||
| 142 | + assert.match(output, /test-get-callsites\.ts/); | ||
| 143 | 143 | assert.strictEqual(status, 0); | |
| 144 | 144 | } | |
| 145 | 145 | ||
@@ -148,7 +148,7 @@ const assert = require('node:assert'); | |||
| 148 | 148 | '--no-warnings', | |
| 149 | 149 | '--experimental-transform-types', | |
| 150 | 150 | '--no-enable-source-maps', | |
| 151 | - fixtures.path('typescript/ts/test-get-callsite.ts'), | ||
| 151 | + fixtures.path('typescript/ts/test-get-callsites.ts'), | ||
| 152 | 152 | ]); | |
| 153 | 153 | ||
| 154 | 154 | const output = stdout.toString(); | |
@@ -157,7 +157,7 @@ const assert = require('node:assert'); | |||
| 157 | 157 | assert.match(output, /lineNumber: 2/); | |
| 158 | 158 | assert.match(output, /column: 18/); | |
| 159 | 159 | assert.match(output, /columnNumber: 18/); | |
| 160 | - assert.match(output, /test-get-callsite\.ts/); | ||
| 160 | + assert.match(output, /test-get-callsites\.ts/); | ||
| 161 | 161 | assert.strictEqual(status, 0); | |
| 162 | 162 | } | |
| 163 | 163 | ||
@@ -166,15 +166,15 @@ const assert = require('node:assert'); | |||
| 166 | 166 | const { status, stderr, stdout } = spawnSync(process.execPath, [ | |
| 167 | 167 | '--no-warnings', | |
| 168 | 168 | '--experimental-transform-types', | |
| 169 | - fixtures.path('typescript/ts/test-get-callsite-explicit.ts'), | ||
| 169 | + fixtures.path('typescript/ts/test-get-callsites-explicit.ts'), | ||
| 170 | 170 | ]); | |
| 171 | 171 | ||
| 172 | 172 | const output = stdout.toString(); | |
| 173 | 173 | assert.strictEqual(stderr.toString(), ''); | |
| 174 | 174 | assert.match(output, /lineNumber: 2/); | |
| 175 | 175 | assert.match(output, /column: 18/); | |
| 176 | 176 | assert.match(output, /columnNumber: 18/); | |
| 177 | - assert.match(output, /test-get-callsite-explicit\.ts/); | ||
| 177 | + assert.match(output, /test-get-callsites-explicit\.ts/); | ||
| 178 | 178 | assert.strictEqual(status, 0); | |
| 179 | 179 | } | |
| 180 | 180 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments