Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
team-friendo
signalboost
Commits
e9d3dbbd
Verified
Commit
e9d3dbbd
authored
Sep 10, 2020
by
aguestuser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[215] fix lint errors
parent
6c3678f7
Pipeline
#45837
passed with stage
in 1 minute and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
test/unit/db/repositories/channel.spec.js
test/unit/db/repositories/channel.spec.js
+1
-1
test/unit/db/repositories/invite.spec.js
test/unit/db/repositories/invite.spec.js
+1
-1
test/unit/diagnostics.spec.js
test/unit/diagnostics.spec.js
+2
-4
No files found.
test/unit/db/repositories/channel.spec.js
View file @
e9d3dbbd
import
{
expect
}
from
'
chai
'
import
{
describe
,
it
,
before
,
beforeEach
,
after
,
afterEach
}
from
'
mocha
'
import
{
channelFactory
,
deepChannelFactory
}
from
'
../../../support/factories/channel
'
import
{
deepChannelFactory
}
from
'
../../../support/factories/channel
'
import
{
genPhoneNumber
}
from
'
../../../support/factories/phoneNumber
'
import
{
omit
,
keys
,
times
,
map
}
from
'
lodash
'
import
channelRepository
,
{
isSysadmin
}
from
'
../../../../app/db/repositories/channel
'
...
...
test/unit/db/repositories/invite.spec.js
View file @
e9d3dbbd
...
...
@@ -14,7 +14,7 @@ import app from '../../../../app'
import
testApp
from
'
../../../support/testApp
'
import
dbService
from
'
../../../../app/db
'
const
{
job
:
{
inviteExpiryInMillis
,
inviteDeletionInterval
},
job
:
{
inviteExpiryInMillis
},
}
=
require
(
'
../../../../app/config
'
)
describe
(
'
invite repository
'
,
()
=>
{
...
...
test/unit/diagnostics.spec.js
View file @
e9d3dbbd
...
...
@@ -5,13 +5,11 @@ import channelRepository from '../../app/db/repositories/channel'
import
metrics
,
{
gauges
}
from
'
../../app/metrics
'
import
signal
from
'
../../app/signal
'
import
{
times
,
zip
}
from
'
lodash
'
import
{
launchHealthcheckJob
,
respondToHealthcheck
,
sendHealthchecks
}
from
'
../../app/diagnostics
'
import
{
respondToHealthcheck
,
sendHealthchecks
}
from
'
../../app/diagnostics
'
import
{
channelFactory
,
deepChannelFactory
}
from
'
../support/factories/channel
'
import
{
sdMessageOf
}
from
'
../../app/signal/constants
'
import
{
wait
}
from
'
../../app/util
'
const
{
job
:
{
healthcheckInterval
},
signal
:
{
diagnosticsPhoneNumber
,
signaldStartupTime
},
signal
:
{
diagnosticsPhoneNumber
},
}
=
require
(
'
../../app/config
'
)
describe
(
'
diagnostics module
'
,
()
=>
{
...
...
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