diff --git a/src/global-methods.spec.js b/src/global-methods.spec.js index 980ed1ab..a4c46989 100644 --- a/src/global-methods.spec.js +++ b/src/global-methods.spec.js @@ -1,20 +1,4 @@ import axios from 'axios'; -import './global-methods.js'; - - -/* -jest.mock('axios'); - -test('should fetch users', () => { - const users = [{name: 'Bob'}]; - const resp = {data: users}; - axios.get.mockResolvedValue(resp); - - // or you could use the following depending on your use case: - // axios.get.mockImplementation(() => Promise.resolve(resp)) - - return Users.all().then(data => expect(data).toEqual(users)); -}); -*/ +import '@/global-methods.js'; test.todo("Need to add some tests here"); \ No newline at end of file