File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
gatsby-transformer-sharp/src/__tests__ Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,11 @@ const { onNodeCreate } = require(`../gatsby-node`)
55describe ( `Process markdown content correctly` , ( ) => {
66 const node = {
77 id : `whatever` ,
8- contentDigest : `whatever` ,
9- mediaType : `text/x-markdown` ,
108 children : [ ] ,
9+ internal : {
10+ contentDigest : `whatever` ,
11+ mediaType : `text/x-markdown` ,
12+ } ,
1113 }
1214
1315 // Make some fake functions its expecting.
Original file line number Diff line number Diff line change @@ -6,9 +6,11 @@ describe(`Process image nodes correctly`, () => {
66 it ( `correctly creates an ImageSharp node from a file image node` , async ( ) => {
77 const node = {
88 id : `whatever` ,
9- contentDigest : `whatever` ,
10- extension : `png` ,
119 children : [ ] ,
10+ internal : {
11+ contentDigest : `whatever` ,
12+ extension : `png` ,
13+ } ,
1214 }
1315 const createNode = jest . fn ( )
1416 const updateNode = jest . fn ( )
You can’t perform that action at this time.
0 commit comments