@@ -70,67 +70,15 @@ Object {
70
70
}
71
71
` ;
72
72
73
- exports [` gatsby-plugin-sharp queueImageResizing should process immediately when asked 1` ] = `
74
- [MockFunction] {
75
- " calls" : Array [
76
- Array [
77
- Object {
78
- " args" : Object {
79
- " base64" : true ,
80
- " duotone" : false ,
81
- " grayscale" : false ,
82
- " jpegProgressive" : true ,
83
- " maxWidth" : 800 ,
84
- " pathPrefix" : " " ,
85
- " pngCompressionLevel" : 9 ,
86
- " pngCompressionSpeed" : 4 ,
87
- " quality" : 50 ,
88
- " sizeByPixelDensity" : false ,
89
- " toFormat" : " png" ,
90
- " width" : 3 ,
91
- },
92
- " inputPath" : " <PROJECT_ROOT>/packages/gatsby-plugin-sharp/src/__tests__/images/144-density.png" ,
93
- " outputPath" : " <PROJECT_ROOT>/public/static/1234/39ca0/test.png" ,
94
- },
95
- Object {
96
- " addThirdPartySchema" : [Function ],
97
- " createJob" : [Function ],
98
- " createNode" : [Function ],
99
- " createNodeField" : [Function ],
100
- " createPage" : [Function ],
101
- " createPageDependency" : [Function ],
102
- " createParentChildLink" : [Function ],
103
- " createRedirect" : [Function ],
104
- " deleteComponentsDependencies" : [Function ],
105
- " deleteNode" : [Function ],
106
- " deleteNodes" : [Function ],
107
- " deletePage" : [Function ],
108
- " endJob" : [Function ],
109
- " replaceComponentQuery" : [Function ],
110
- " replaceStaticQuery" : [Function ],
111
- " replaceWebpackConfig" : [Function ],
112
- " setBabelOptions" : [Function ],
113
- " setBabelPlugin" : [Function ],
114
- " setBabelPreset" : [Function ],
115
- " setJob" : [Function ],
116
- " setPluginStatus" : [Function ],
117
- " setWebpackConfig" : [Function ],
118
- " touchNode" : [Function ],
119
- },
120
- Object {
121
- " defaultQuality" : 50 ,
122
- " lazyImageGeneration" : true ,
123
- " stripMetadata" : true ,
124
- " useMozJpeg" : false ,
125
- },
126
- ],
127
- ],
128
- " results" : Array [
129
- Object {
130
- " type" : " return" ,
131
- " value" : Promise {},
132
- },
133
- ],
73
+ exports [` gatsby-plugin-sharp stats determines if the image is transparent, based on the presence and use of alpha channel 1` ] = `
74
+ Object {
75
+ " isTransparent" : false ,
76
+ }
77
+ ` ;
78
+
79
+ exports [` gatsby-plugin-sharp stats determines if the image is transparent, based on the presence and use of alpha channel 2` ] = `
80
+ Object {
81
+ " isTransparent" : true ,
134
82
}
135
83
` ;
136
84
0 commit comments