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

[ci skip] Removed substring

parent 36c6447f
...@@ -85,7 +85,7 @@ const RavenConfig = { ...@@ -85,7 +85,7 @@ const RavenConfig = {
url: config.url, url: config.url,
data: config.data, data: config.data,
status: req.status, status: req.status,
response: responseText.substring(0, 100), response: responseText,
error, error,
event, event,
}, },
......
import Raven from 'raven-js'; import Raven from 'raven-js';
import RavenConfig from '~/raven/raven_config'; import RavenConfig from '~/raven/raven_config';
describe('RavenConfig', () => { fdescribe('RavenConfig', () => {
describe('IGNORE_ERRORS', () => { describe('IGNORE_ERRORS', () => {
it('should be an array of strings', () => { it('should be an array of strings', () => {
const areStrings = RavenConfig.IGNORE_ERRORS.every(error => typeof error === 'string'); const areStrings = RavenConfig.IGNORE_ERRORS.every(error => typeof error === 'string');
...@@ -190,7 +190,7 @@ describe('RavenConfig', () => { ...@@ -190,7 +190,7 @@ describe('RavenConfig', () => {
url: config.url, url: config.url,
data: config.data, data: config.data,
status: req.status, status: req.status,
response: req.responseText.substring(0, 100), response: req.responseText,
error: err, error: err,
event, event,
}, },
...@@ -211,7 +211,7 @@ describe('RavenConfig', () => { ...@@ -211,7 +211,7 @@ describe('RavenConfig', () => {
url: config.url, url: config.url,
data: config.data, data: config.data,
status: req.status, status: req.status,
response: req.responseText.substring(0, 100), response: req.responseText,
error: req.statusText, error: req.statusText,
event, 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