import { expect } from 'chai';
import Utils from "../lib/core.js";

describe('dateFormat function', () => {
  it('should return Date string', () => {
    expect(Utils.dateFormat("yyyy-MM-dd", new Date())).to.equal('2018-01-30');
  });
});