test('will return height from ?maxheight', () => {
    options.height = 100;
    options.width = undefined;
    const url = new URL('https://example.com/?maxheight=100');
    expect(getResizeOptions(url)).toEqual(options);