> {
        sinon.spy(actionEmitter, 'dispatchEvent');
        let action = {
          path: 'my.path'
        };
        actionEmitter.statePath = 'state';
        actionEmitter.emitAction(action);
        expect(actionEmitter.dispatchEvent).to.be.calledWithMatch({
          type: 'dispatch-action',
          detail: {
            path: 'state.my.path'
          }
        });
      });

      test('does not change detail.path if it starts with "state."', () => {
        sinon.spy(actionEmitter, 'dispatchE