Skip to content

Commit

Permalink
test: regenerate files for source map tests (#1160)
Browse files Browse the repository at this point in the history
  • Loading branch information
kjin authored Nov 25, 2019
1 parent 12a2f84 commit a4e397f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/fixtures/source-maps-test/external-source-map.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/source-maps-test/inline-source-map.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion test/fixtures/source-maps-test/inline-sources.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions test/test-span-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ describe('SpanData', () => {
const stackFrame = getSourceMapTestStackFrame(spanData);
// Source maps should give us this exact information.
assert.ok(stackFrame.file_name.endsWith(`${sourceMapType}.ts`));
assert.strictEqual(stackFrame.line_number, 19);
assert.strictEqual(stackFrame.line_number, 17);
assert.strictEqual(stackFrame.column_number, 52);
});
}
Expand All @@ -244,7 +244,7 @@ describe('SpanData', () => {
);
const stackFrame = getSourceMapTestStackFrame(spanData);
assert.ok(stackFrame.file_name.endsWith('no-source-map.js'));
assert.strictEqual(stackFrame.line_number, 20);
assert.strictEqual(stackFrame.line_number, 18);
assert.strictEqual(stackFrame.column_number, 47);
});
});
Expand Down

0 comments on commit a4e397f

Please sign in to comment.