mattermost-mobile/test/client/client.test.js
Harrison Healey 45f8a56d15 Fixed unit tests for the other changes I've made recently (#80)
* Removed mocking from client tests

* Updated Client tests to remove Client.setTeamId

* Fixed actions/general.test.js

* Updated test/reducer/channel.test.js for the updated store structure

* Commented out general reducer tests until the store structure is more finalized

* Properly used the team ID when creating a channel
2016-11-22 11:46:50 -05:00

12 lines
340 B
JavaScript

// Copyright (c) 2016 Mattermost, Inc. All Rights Reserved.
// See License.txt for license information.
import TestHelper from 'test_helper.js';
describe('Client', () => {
it('doFetch', async () => {
const client = TestHelper.createClient();
return client.doFetch(`${client.getGeneralRoute()}/ping`, {});
});
});