fleetmap-reports 2.0.262 → 2.0.263
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/location-report.js
CHANGED
|
@@ -28,9 +28,9 @@ describe('test positions', function () {
|
|
|
28
28
|
const userData = await report.getUserData()
|
|
29
29
|
userData.byDriver = true
|
|
30
30
|
const data = await report.locationReport(
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
new Date(Date.UTC(2025, 0, 1, 0, 0, 0)),
|
|
32
|
+
new Date(Date.UTC(2025, 0, 31, 23, 59, 59, 0)),
|
|
33
|
+
userData)
|
|
34
34
|
assert.equal(data.length, 1)
|
|
35
35
|
const driver = data[0].drivers.find(d => d.driver.id === 14020)
|
|
36
36
|
console.log(driver.positions)
|
|
@@ -38,7 +38,7 @@ describe('test positions', function () {
|
|
|
38
38
|
} catch (e) {
|
|
39
39
|
console.error(e)
|
|
40
40
|
}
|
|
41
|
-
},
|
|
41
|
+
}, 2000000)
|
|
42
42
|
// eslint-disable-next-line no-undef
|
|
43
43
|
it('works with sensores', async () => {
|
|
44
44
|
const deviceId = 288082
|