UNPKG

@sports-alliance/sports-lib

Version:

A Library to for importing / exporting and processing GPX, TCX, FIT and JSON files from services such as Strava, Movescount, Garmin, Polar etc

11 lines (10 loc) 411 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const data_ground_time_1 = require("./data.ground-time"); describe('DataGroundTime', () => { it('should keep value unchanged and expressed in milliseconds', () => { const data = new data_ground_time_1.DataGroundTime(1216); expect(data.getUnit()).toBe('ms'); expect(data.getValue()).toBe(1216); }); });