diff --git a/client/src/containers/CampaignAdmin/tests/CampaignAdmin-test.js b/client/src/containers/CampaignAdmin/tests/CampaignAdmin-test.js deleted file mode 100644 index 415a2da2c..000000000 --- a/client/src/containers/CampaignAdmin/tests/CampaignAdmin-test.js +++ /dev/null @@ -1,7 +0,0 @@ -/* global jest, describe */ - -jest.dontMock('../CampaignAdmin'); - -describe('CampaignAdminContainer', () => { - -}); diff --git a/client/src/mocks/SilverStripeComponent.js b/client/src/mocks/SilverStripeComponent.js deleted file mode 100644 index 512a6c4ee..000000000 --- a/client/src/mocks/SilverStripeComponent.js +++ /dev/null @@ -1,5 +0,0 @@ -import { Component } from 'react'; - -// eslint-disable-next-line react/prefer-stateless-function -export default class SilverStripeComponent extends Component { -} diff --git a/client/src/mocks/jQuery.js b/client/src/mocks/jQuery.js deleted file mode 100644 index 6a80e2cac..000000000 --- a/client/src/mocks/jQuery.js +++ /dev/null @@ -1,19 +0,0 @@ -/* globals jest */ - -function jQuery() { - return { - // Add jQuery methods such as 'find', 'change', 'trigger' as needed. - }; -} - -const mockAjaxFn = jest.genMockFunction(); - -mockAjaxFn.mockReturnValue({ - done: jest.genMockFunction(), - fail: jest.genMockFunction(), - always: jest.genMockFunction(), -}); - -jQuery.ajax = mockAjaxFn; - -export default jQuery;