Merge pull request #12823 from overleaf/jpa-clsi-download-tests
[clsi] modernise tests for file downloads GitOrigin-RevId: b33749b9100812de8ae2a26bd84e933f0282457b
This commit is contained in:
@@ -197,9 +197,9 @@ const downloadAndComparePdf = function (projectId, exampleDir, url, callback) {
|
||||
.catch(callback)
|
||||
}
|
||||
|
||||
Client.runServer(4242, fixturePath('examples'))
|
||||
|
||||
describe('Example Documents', function () {
|
||||
Client.runFakeFilestoreService(fixturePath('examples'))
|
||||
|
||||
before(function (done) {
|
||||
ClsiApp.ensureRunning(done)
|
||||
})
|
||||
@@ -226,7 +226,6 @@ describe('Example Documents', function () {
|
||||
this.project_id,
|
||||
fixturePath('examples'),
|
||||
exampleDir,
|
||||
4242,
|
||||
(error, res, body) => {
|
||||
if (
|
||||
error ||
|
||||
@@ -255,7 +254,6 @@ describe('Example Documents', function () {
|
||||
this.project_id,
|
||||
fixturePath('examples'),
|
||||
exampleDir,
|
||||
4242,
|
||||
(error, res, body) => {
|
||||
if (
|
||||
error ||
|
||||
|
||||
Reference in New Issue
Block a user