[ci skip] Removed substring

This commit is contained in:
Luke "Jared" Bennett 2017-05-03 14:47:21 +01:00
parent 36c6447f9d
commit b0dfc741c4
No known key found for this signature in database
GPG Key ID: 402ED51FB5D306C2
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ const RavenConfig = {
url: config.url,
data: config.data,
status: req.status,
response: responseText.substring(0, 100),
response: responseText,
error,
event,
},

View File

@ -1,7 +1,7 @@
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,
},