Skip to content

Commit

Permalink
fix: πŸ› Fix wrong import in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Feb 10, 2019
1 parent 190094d commit bead583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/rich-text-react-renderer/src/__test__/index.test.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from 'react';
import Document, { BLOCKS, INLINES, MARKS } from '@contentful/rich-text-types';
import { Document, BLOCKS, INLINES, MARKS } from '@contentful/rich-text-types';

import { documentToReactTree, Options } from '../index';

Expand Down Expand Up @@ -58,7 +58,7 @@ describe('documentToReactTree', () => {
});

it('renders multiple marks with default mark renderer', () => {
const doc = multiMarkDoc;
const doc: Document = multiMarkDoc();
expect(documentToReactTree(doc)).toMatchSnapshot();
});

Expand Down

0 comments on commit bead583

Please sign in to comment.