Initial commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
import {
|
||||
findEvents,
|
||||
} from '../index';
|
||||
|
||||
const verifyResponse = (response) => {
|
||||
expect(response.errors).toBe(undefined);
|
||||
};
|
||||
|
||||
const verifyError = (response) => {
|
||||
expect(response.errors.length).toBeGreaterThan(0);
|
||||
};
|
||||
|
||||
describe('GQL Queries', () => {
|
||||
test('findEvents', () => findEvents().then(verifyResponse));
|
||||
});
|
||||
Reference in New Issue
Block a user