Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
b0dfc741
Commit
b0dfc741
authored
May 03, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Removed substring
parent
36c6447f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/raven/raven_config.js
app/assets/javascripts/raven/raven_config.js
+1
-1
spec/javascripts/raven/raven_config_spec.js
spec/javascripts/raven/raven_config_spec.js
+3
-3
No files found.
app/assets/javascripts/raven/raven_config.js
View file @
b0dfc741
...
...
@@ -85,7 +85,7 @@ const RavenConfig = {
url
:
config
.
url
,
data
:
config
.
data
,
status
:
req
.
status
,
response
:
responseText
.
substring
(
0
,
100
)
,
response
:
responseText
,
error
,
event
,
},
...
...
spec/javascripts/raven/raven_config_spec.js
View file @
b0dfc741
import
Raven
from
'
raven-js
'
;
import
RavenConfig
from
'
~/raven/raven_config
'
;
describe
(
'
RavenConfig
'
,
()
=>
{
f
describe
(
'
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
,
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment