Skip to content

Commit

Permalink
Fix error source maps test
Browse files Browse the repository at this point in the history
  • Loading branch information
TooTallNate committed Jun 22, 2024
1 parent 5fac440 commit fda3c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/tests/src/error.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const test = suite('Error');

test('`Error#stack` include source maps', () => {
const err = new Error('bad');
assert.equal(err.stack?.includes('(app:../src/error.ts:'), true);
assert.equal(err.stack?.includes('(app:../src/error.test.ts:'), true);
});

test.run();

0 comments on commit fda3c1e

Please sign in to comment.