We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e792e0e commit 2bdd833Copy full SHA for 2bdd833
1 file changed
test/exception.js
@@ -32,8 +32,6 @@ $(document).ready(function() {
32
33
data = JSON.parse($P.base64_decode(ajax_calls[0].data));
34
35
- equal(data.culprit.slice(-12), 'exception.js',
36
- 'the culprit should be the exception.js unit test file');
37
equal(data.logger, 'javascript',
38
'the logger should be the default value');
39
notEqual(data.message.indexOf('varThatDoesNotExist'), -1,
@@ -42,6 +40,9 @@ $(document).ready(function() {
42
40
'the error should be a ReferenceError');
43
41
44
if (mode !== 'other') {
+ equal(data.culprit.slice(-12), 'exception.js',
+ 'the culprit should be the exception.js unit test file');
45
+
46
frame = data['sentry.interfaces.Stacktrace'].frames[0];
47
equal(frame.function, 'outlandishClaim');
48
equal(frame.lineno, '7');
0 commit comments