
          });

          async function runTest(){
            let event_watcher = new EventWatcher(testMouseKeyPressed, window, ["pointermove"],
              ()=>waitForAnimationFrames(200));
            await Promise.all([event_watcher.wait_for(["pointermove"]), inject_input()]);
            testMouseKeyPressed.step_func_done(()=>{
              assert_true(activeKeys, "Modifier keys not reflected in the pointermove event!");
            })();
          }

          function inject_input() {
           