Skip to content

Commit

Permalink
fix(bundle-source): Relax line number test for better prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kriskowal committed Jan 5, 2022
1 parent b772655 commit 78a2575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/bundle-source/test/sanity.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function makeSanityTests(stackFiltering) {
const prefix = stackFiltering === 'concise' ? '' : '/bundled-source/.../';

function stackContains(stack, filePattern) {
return stack.indexOf(`(${prefix}${filePattern}`) >= 0;
return stack.indexOf(`${prefix}${filePattern}`) >= 0;
}

test(`endoZipBase64`, async t => {
Expand Down

0 comments on commit 78a2575

Please sign in to comment.