Skip to content

Commit

Permalink
adding descriptive name for test
Browse files Browse the repository at this point in the history
  • Loading branch information
iFlameing committed Jul 13, 2019
1 parent 4424d96 commit 2906544
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/__tests__/gatsby-node.tests.js
@@ -1,5 +1,4 @@
import { makeContentNode } from '../utils';
import { createContentDigest } from '../utils';
import { makeContentNode, createContentDigest } from '../utils';

const mockid = 'http://localhost:8080/Plone';
const mockbaseUrl = 'http://localhost:8080/Plone';
Expand Down Expand Up @@ -188,7 +187,7 @@ const expectednode = {
_backlinks: [''],
};

test('makeContentNode test', () => {
test('makeContentNode returns Gatsby Node', () => {
expect(makeContentNode(mockid, mockdata, mockbaseUrl, mockbacklinks)).toEqual(
expectednode
);
Expand Down

0 comments on commit 2906544

Please sign in to comment.