Skip to content

Commit

Permalink
Update packages/integration-tests/suites/stacktraces/protocol_contain…
Browse files Browse the repository at this point in the history
…ing_fn_identifiers/test.ts

Co-authored-by: Katie Byers <lobsterkatie@gmail.com>
  • Loading branch information
onurtemizkan and lobsterkatie committed Apr 29, 2022
1 parent 3220b92 commit f68450d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ sentryTest('should not add any part of the function identifier inside filename',
const eventData = await getFirstSentryEnvelopeRequest<Event>(page, url);

expect(eventData.exception?.values?.[0].stacktrace?.frames).toMatchObject(
// specifically, we're trying to avoid values like `Blob@file://path/to/file` in frames with function names like `makeBlob`
Array(7).fill({ filename: expect.stringMatching(/^file:\/?/) }),
);
});

0 comments on commit f68450d

Please sign in to comment.