Skip to content

Commit 8bbd939

Browse files
elicwhitebenvinegar
authored andcommitted
Fix mutation test (#790)
1 parent e37b244 commit 8bbd939

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/raven.test.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2290,10 +2290,9 @@ describe('Raven (public API)', function() {
22902290
}]);
22912291
});
22922292

2293-
it('should mutate the breadcrumb if it returns an object', function() {
2293+
it('should be able to mutate the breadcrumb', function() {
22942294
Raven.setBreadcrumbCallback(function(crumb) {
22952295
crumb.type = 'whee';
2296-
return crumb;
22972296
});
22982297

22992298
Raven.captureBreadcrumb({

0 commit comments

Comments
 (0)