it('should return the correct format for fonts with queries', () => {
    expect(getFontFormat('foo.woff2?somequery')).toEqual('woff2')
    expect(getFontFormat('foo.woff2?someq?uery')).toEqual('woff2')
    expect(getFontFormat('foo.woff?someq?uery')).toEqual('woff')
    expect(getFontFormat('foo.ttf?somequery')).toEqual('truetype')