 store } = testHelpers.createDirectLineEmulator({ ponyfill: clock });

        const decoratorMiddleware = [
          createActivityGroupingMiddleware(next => request => {
            const DownstreamComponent = next(request);

            if (request.groupingName) {
              return ({ activities, children }) =>
                createElement(
                  'div',
                  { className: `grouping grouping--${request.groupingName}` },
                  createElement(DownstreamComponent, { ac