message: chore: juggle the code around proper
diff: @@ -571,8 +571,12 @@ describe('DefaultWorkflowRunner', () => {
  input: {},
  },
  ],
  + user: {
  + entity: { metadata: { name: 'bob' } } as UserEntity,
  + ref: 'user:default/guest',
  + },
  output: {
  - foo: '${{ parameters.repoUrl | parseRepoUrl }}',
  + foo: '${{ user.entity.metadata.name }} ${{ user.ref }}',
  },
  parameters: {
  repoUrl: 'github.com?repo=repo&owner=owner',
  @@ -581,11 +585,7 @@ describe('DefaultWorkflowRunner', () => {
  const { output } = await runner.execute(task);
  - expect(output.foo).toEqual({
  - host: 'github.com',
  - owner: 'owner',
  - repo: 'repo',
  - });
  + expect(output.foo).toEqual('bob user:default/guest');
  });
  });
  @@ -601,12 +601,8 @@ describe('DefaultWorkflowRunner', () => {
  input: {},
  },
  ],
  - user: {
  - entity: { metadata: { name: 'bob' } } as UserEntity,
  - ref: 'user:default/guest',
  - },
  output: {
  - foo: '${{ user.entity.metadata.name }} ${{ user.ref }}',
  + foo: '${{ parameters.repoUrl | parseRepoUrl }}',
  },
  parameters: {
  repoUrl: 'github.com?repo=repo&owner=owner',
  @@ -615,7 +611,11 @@ describe('DefaultWorkflowRunner', () => {
  const { output } = await runner.execute(task);
  - expect(output.foo).toEqual('bob user:default/guest');
  + expect(output.foo).toEqual({
  + host: 'github.com',
  + owner: 'owner',
  + repo: 'repo',
  + });
  });
  });
  });
  