Commit f3465c72 authored by Fernando Arias's avatar Fernando Arias

Update failing specs & linter errors & changelog

parent 42bfffc4
import _ from 'underscore';
import { __ } from '~/locale';
import { isScrolledToBottom } from '~/lib/utils/scroll_utils';
export const headerActions = state => {
return [];
};
export const headerActions = () => [];
export const headerTime = state => (state.job.started ? state.job.started : state.job.created_at);
......
---
title: Move job cancel button
title: Move cancel & new issue button on job page
merge_request: 24074
author:
type: changed
......@@ -191,7 +191,7 @@ describe 'Jobs', :clean_gitlab_redis_shared_state do
href = new_project_issue_path(project, options)
page.within('.header-action-buttons') do
page.within('.build-sidebar') do
expect(find('.js-new-issue')['href']).to include(href)
end
end
......
......@@ -10,7 +10,7 @@ describe('Job Store Getters', () => {
describe('headerActions', () => {
describe('with new issue path', () => {
it('returns an empty array', () => {
it('returns an empty array with no actions', () => {
localState.job.new_issue_path = 'issues/new';
expect(getters.headerActions(localState)).toEqual([]);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment