aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils/miscs/miscs.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/utils/miscs/miscs.ts')
-rw-r--r--server/tests/utils/miscs/miscs.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/utils/miscs/miscs.ts b/server/tests/utils/miscs/miscs.ts
index 53cb67baf..5e46004a7 100644
--- a/server/tests/utils/miscs/miscs.ts
+++ b/server/tests/utils/miscs/miscs.ts
@@ -46,7 +46,7 @@ async function testImage (url: string, imageName: string, imagePath: string, ext
46 46
47 const body = res.body 47 const body = res.body
48 48
49 const data = await readFileBufferPromise(join(__dirname, '..', '..', 'api', 'fixtures', imageName + extension)) 49 const data = await readFileBufferPromise(join(__dirname, '..', '..', 'fixtures', imageName + extension))
50 const minLength = body.length - ((20 * body.length) / 100) 50 const minLength = body.length - ((20 * body.length) / 100)
51 const maxLength = body.length + ((20 * body.length) / 100) 51 const maxLength = body.length + ((20 * body.length) / 100)
52 52
@@ -63,7 +63,7 @@ function buildAbsoluteFixturePath (path: string) {
63 return path 63 return path
64 } 64 }
65 65
66 return join(__dirname, '..', '..', 'api', 'fixtures', path) 66 return join(__dirname, '..', '..', 'fixtures', path)
67} 67}
68 68
69// --------------------------------------------------------------------------- 69// ---------------------------------------------------------------------------