Skip to content

Commit

Permalink
ui: fix job-client-status bar tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lgfa29 committed Oct 7, 2021
1 parent c38c0a5 commit dc22c75
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ui/tests/integration/components/job-client-status-bar-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ module('Integration | Component | job-client-status-bar', function(hooks) {

const commonProperties = () => ({
onSliceClick: sinon.spy(),
job: {
namespace: {
get: () => 'my-namespace',
},
},
jobClientStatus: {
byStatus: {
queued: [],
Expand All @@ -32,6 +37,7 @@ module('Integration | Component | job-client-status-bar', function(hooks) {
const commonTemplate = hbs`
<JobClientStatusBar
@onSliceClick={{onSliceClick}}
@job={{job}}
@jobClientStatus={{jobClientStatus}}
@isNarrow={{isNarrow}}
/>`;
Expand Down

0 comments on commit dc22c75

Please sign in to comment.