UNPKG

@focus-reactive/graphql-content-layer

Version:

[![npm version](https://badge.fury.io/js/%40focus-reactive%2Fgraphql-content-layer.svg)](https://badge.fury.io/js/%40focus-reactive%2Fgraphql-content-layer) # GitNation GraphQL Content Layer

14 lines (11 loc) 431 B
import { getSettings } from '../../develop/conference-settings'; import { getContent } from '../../src'; import { createReport } from '../../utils/content-report'; describe('RS', () => { const settings = getSettings(); it('should be correct speakers data', async () => { const content = await getContent(settings.mlconf); const report = createReport(content); expect(report.speakers).toMatchSnapshot(); }); });