mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-29 12:01:32 +02:00
Merge pull request #6661 from overleaf/spd-local-tests
Move acceptance test mocks to nonstandard ports and add options for running locally GitOrigin-RevId: bd8f70ac8d80599daccc51cfe7b90a2ad8d8c3d8
This commit is contained in:
committed by
Copybot
parent
671d9b1306
commit
53dd89a826
@@ -50,9 +50,7 @@ describe('ServerCEScripts', function () {
|
||||
|
||||
it('should exit with code 1 on error', function () {
|
||||
try {
|
||||
run(
|
||||
'REDIS_HOST=localhost node modules/server-ce-scripts/scripts/check-redis'
|
||||
)
|
||||
run('REDIS_PORT=42 node modules/server-ce-scripts/scripts/check-redis')
|
||||
} catch (e) {
|
||||
expect(e.status).to.equal(1)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user