Update unit tests.

This commit is contained in:
kialam
2018-11-13 09:46:43 -05:00
parent f520be71d6
commit 44e9d3919d
4 changed files with 20 additions and 50 deletions

View File

@@ -1,5 +1,6 @@
import React from 'react';
import { mount } from 'enzyme';
import { API_ORGANIZATIONS } from '../../src/endpoints';
import Organizations from '../../src/pages/Organizations';
describe('<Organizations />', () => {
@@ -51,4 +52,9 @@ describe('<Organizations />', () => {
expect(galleryItems.length).toBe(3);
expect(orgCards.length).toBe(3);
});
test('API Organization endpoint is valid', () => {
expect(API_ORGANIZATIONS).toBeDefined();
});
});