9 lines
340 B
JavaScript
9 lines
340 B
JavaScript
import { getDate } from './helpers';
|
|
describe('gradation helpers', function () {
|
|
it('should convert value to Date', function () {
|
|
var today = new Date();
|
|
getDate(today.getTime()).getTime().should.equal(today.getTime());
|
|
getDate(today).getTime().should.equal(today.getTime());
|
|
});
|
|
});
|
|
//# sourceMappingURL=helpers.test.js.map
|