The climactic track of Rainbow’s swords-and-sorcery metal masterpiece Rising (1976), Stargazer tells the tale of a sorcerer whose slaves build a tower so they can watch him fly from it — only to see him not so much fly as plummet.
In the free-form coda that ends the song, Ronnie James Dio cries out:
I see a rainbow rising Look up, on the horizon
Now here is the problem. Even if we accept the dubious proposition that rainbows rise (I suppose they might do so as the sun sinks) and even accepting the notion of a rainbow on the horizon (something you only see when the sun is unusually high in the sky), even then you would not look up to see a rainbow rising on the horizon. You would look horizontally.
So the song should say:
I see a rainbow rising Look horizontally, to the horizon
Yesterday we had an amazingly clear rainbow. And it happened at just the right time of day (4:20pm) that the sun was in just the right place that I was able to step back from the house and frame it entirely within the rainbow. Here it is, straight off the phone, with absolutely no retouching:
I am writing a Jest/RTL test for a React component that invokes another component. I want to mock that second component so I can have it do things like invoking callbacks that the first component passes to it.
But there is nothing specific to React about this requirement: it comes up for non-React modules, too. I have an approach that I have shown to work using trivial modules and I want to document it here for myself and anyone else who finds it useful.