Note that we cannot test transitions with jsdom