Commit b0dfc741 authored by Luke "Jared" Bennett's avatar Luke "Jared" Bennett

[ci skip] Removed substring

parent 36c6447f
......@@ -85,7 +85,7 @@ const RavenConfig = {
url: config.url,
data: config.data,
status: req.status,
response: responseText.substring(0, 100),
response: responseText,
error,
event,
},
......
import Raven from 'raven-js';
import RavenConfig from '~/raven/raven_config';
describe('RavenConfig', () => {
fdescribe('RavenConfig', () => {
describe('IGNORE_ERRORS', () => {
it('should be an array of strings', () => {
const areStrings = RavenConfig.IGNORE_ERRORS.every(error => typeof error === 'string');
......@@ -190,7 +190,7 @@ describe('RavenConfig', () => {
url: config.url,
data: config.data,
status: req.status,
response: req.responseText.substring(0, 100),
response: req.responseText,
error: err,
event,
},
......@@ -211,7 +211,7 @@ describe('RavenConfig', () => {
url: config.url,
data: config.data,
status: req.status,
response: req.responseText.substring(0, 100),
response: req.responseText,
error: req.statusText,
event,
},
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment