Skip to content

Commit 5784acf

Browse files
committed
Fix broken test after merge
1 parent ad78ea1 commit 5784acf

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/raven.test.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1187,10 +1187,11 @@ describe('globals', function() {
11871187
globalOptions = {
11881188
projectId: 2,
11891189
logger: 'javascript',
1190+
maxMessageLength: 100,
11901191
serverName: 'abc123',
11911192
};
11921193

1193-
send({foo: 'bar'});
1194+
send({message: 'bar'});
11941195
assert.deepEqual(window.makeRequest.lastCall.args[0].data, {
11951196
project: '2',
11961197
server_name: 'abc123',
@@ -1203,7 +1204,7 @@ describe('globals', function() {
12031204
}
12041205
},
12051206
event_id: 'abc123',
1206-
foo: 'bar',
1207+
message: 'bar',
12071208
extra: {'session:duration': 100}
12081209
});
12091210
});

0 commit comments

Comments
 (0)