yKey },
          }
        } = window; // Imports in UMD fashion.

        const { directLine, store } = testHelpers.createDirectLineEmulator();
        let currentActivityKeysWithId = [];
        let currentActiveTyping = {};

        const Monitor = () => {
          const [activityKeys] = useActivityKeys();
          const [activeTyping] = useActiveTyping();
          const getActivitiesByKey = useGetActivitiesByKey();

          currentActivityKeysWithId = Object.freeze(
            activityKeys.map(ke