File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ const nextOnNetlify = (options = {}) => {
3535
3636 setupPages ( { functionsPath, publishPath } ) ;
3737
38- // TO-DO: put back when jimp module issue is resolved ;(
39- // setupImageFunction(functionsPath);
38+ setupImageFunction ( functionsPath ) ;
4039
4140 setupRedirects ( publishPath ) ;
4241
Original file line number Diff line number Diff line change @@ -135,10 +135,9 @@ describe("API Pages", () => {
135135describe ( "next/image" , ( ) => {
136136 const functionsDir = join ( PROJECT_PATH , "out_functions" ) ;
137137
138- // TO-DO: put back when jump module issue is resolved ;(
139- // test("sets up next_image as a function in every project by default", () => {
140- // expect(existsSync(join(functionsDir, "next_image.js"))).toBe(true);
141- // });
138+ test ( "sets up next_image as a function in every project by default" , ( ) => {
139+ expect ( existsSync ( join ( functionsDir , "next_image.js" ) ) ) . toBe ( true ) ;
140+ } ) ;
142141} ) ;
143142
144143describe ( "SSG Pages with getStaticProps" , ( ) => {
You can’t perform that action at this time.
0 commit comments