Skip to content

Commit

Permalink
[pre-commit.ci lite] apply automatic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci-lite[bot] authored Feb 18, 2025
1 parent 9ce0d63 commit 274c296
Showing 1 changed file with 7 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,14 @@ describe('channelSetList', () => {
const createChannelSetStub = jest.fn().mockImplementation(() => Promise.resolve(id));
beforeEach(() => {
wrapper = makeWrapper(createChannelSetStub);
wrapper.setData({ loading: false });

wrapper.setData({ loading: false });
});
it('should open a new channel set modal when new set button is clicked', async () => {
const push = jest.fn();
wrapper.vm.$router.push = push;
await wrapper.find('[data-test="add-channelset"]').trigger('click');
expect(push).toHaveBeenCalledWith({
name: RouteNames.NEW_CHANNEL_SET_DETAILS,
});
const push = jest.fn();
wrapper.vm.$router.push = push;
await wrapper.find('[data-test="add-channelset"]').trigger('click');
expect(push).toHaveBeenCalledWith({
name: RouteNames.NEW_CHANNEL_SET_DETAILS,
});


});
});

0 comments on commit 274c296

Please sign in to comment.