diff --git a/spec/javascripts/components/projects/project_board_spec.js b/spec/javascripts/components/projects/project_board_spec.js index a846fedce..2d01b89b8 100644 --- a/spec/javascripts/components/projects/project_board_spec.js +++ b/spec/javascripts/components/projects/project_board_spec.js @@ -3,6 +3,10 @@ import { shallow } from 'enzyme'; import { ProjectBoard } from 'components/projects/ProjectBoard'; import storyFactory from '../../support/factories/storyFactory'; +jest.mock('../../../../app/assets/javascripts/pusherSockets', () => ({ + subscribeToProjectChanges: jest.fn(), +})); + describe('', () => { const render = props => { const defaultProps = {