it('should return the correct format', () => {
    expect(getFontFormat('foo.ttf')).toEqual('truetype')
    expect(getFontFormat('foo.eot')).toEqual('embedded-opentype')
    expect(getFontFormat('foo.woff')).toEqual('woff')
    expect(getFontFormat('foo.woff2')).toEqual('woff2')