@focus-reactive/graphql-content-layer
Version:
[](https://badge.fury.io/js/%40focus-reactive%2Fgraphql-content-layer) # GitNation GraphQL Content Layer
15 lines (13 loc) • 417 B
JavaScript
import { getContent } from '../src';
import { getSettings } from '../develop/conference-settings';
describe('get Content', () => {
const settings = getSettings();
it.each(['mlconf', 'qaconf', 'doconf', 'nodeconf', 'rs', 'rsre', 'jsn'])(
'should generate content for %s',
async () => {
expect(async confCode => {
await getContent(settings[confCode]);
}).not.toThrow();
},
);
});