Skip to content
This repository was archived by the owner on Mar 27, 2018. It is now read-only.

Commit f1ebe4d

Browse files
committed
test(index): add simple test for exports
1 parent ddb4761 commit f1ebe4d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

src/index.test.js

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { DrupalPage, site, EntityMapper, Paragraph, EntityListMapper, Paragraphs, waitForHnData } from './';
2+
3+
test('exports', () => {
4+
expect(typeof DrupalPage).toBe('function');
5+
expect(typeof site).toBe('object');
6+
expect(typeof EntityMapper).toBe('function');
7+
expect(typeof Paragraph).toBe('function');
8+
expect(typeof EntityListMapper).toBe('function');
9+
expect(typeof Paragraphs).toBe('function');
10+
expect(typeof waitForHnData).toBe('function');
11+
});

0 commit comments

Comments
 (0)