Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ export function validateProfile(
expect(frame).toHaveProperty('function');
expect(typeof frame.function).toBe('string');

// Some browser functions (fetch, setTimeout) may not have file locations
if (frame.function !== 'fetch' && frame.function !== 'setTimeout') {
// Some browser functions (fetch, setTimeout, clearTimeout) may not have file locations
if (frame.function !== 'fetch' && frame.function !== 'setTimeout' && frame.function !== 'clearTimeout') {
expect(frame).toHaveProperty('abs_path');
expect(frame).toHaveProperty('lineno');
expect(frame).toHaveProperty('colno');
Expand Down
Loading