From 11d760a4e576cfc3ff5d898267b2ff45175e4c9e Mon Sep 17 00:00:00 2001 From: Type-Style Date: Mon, 26 Aug 2024 20:26:17 +0200 Subject: [PATCH] [Task] #77, improve example test data --- src/testData/createTestData.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/testData/createTestData.test.ts b/src/testData/createTestData.test.ts index 10ac06c..8838124 100644 --- a/src/testData/createTestData.test.ts +++ b/src/testData/createTestData.test.ts @@ -48,7 +48,7 @@ describe('test Data', () => { const lat = (start.lat + (diff.lat / (entries - 1) * i)).toFixed(8); const lon = (start.lon + (diff.lon / (entries - 1) * i)).toFixed(8); setTimeout(async () => { - await callServer(undefined, `user=xx&lat=${lat}&lon=${lon}×tamp=R3Pl4C3&hdop=${Math.floor(Math.random() * 15) + 1}&altitude=${i+1}&speed=${38 + i*2.5}&heading=${262 + Math.floor(Math.random() * 20) - 10}&key=test`, 200, "GET"); + await callServer(undefined, `user=xx&lat=${lat}&lon=${lon}×tamp=R3Pl4C3&hdop=${Math.floor(Math.random() * 15) + 1}&altitude=${i+1}&speed=${39 + i*2.5}&heading=${262 + Math.floor(Math.random() * 20) - 10}&key=test`, 200, "GET"); console.log("called server " + (i + 1) + "/" + entries); }, 1000 * 30 * i);