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