gulpjs / gulp

A toolkit to automate & enhance your workflow

Home Page:https://gulpjs.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Test fail on the latest version

rluvaton opened this issue · comments

Running the citgm on gulp in node 22 fail


verbose: gulp npm-test:      |                     
verbose: gulp npm-test:      | 41 passing (9s)     
verbose:                     | 1 failing           
verbose: gulp npm-test:      | 1) gulp                                                                                                                         
verbose:                     | can run against gulpfile.mjs:                                                                                                   
verbose:                     | Uncaught Error: expect(received).toEqual(expected) // deep equality                                                             
verbose:                     |                                                                                                                                 
verbose:                     | Expected: ""                                                                                                                    
verbose:                     | Received: "(node:2245619) Warning: To load an ES module, set \"type\": \"module\" in the package.json or use the .mjs extension.
verbose:                     | (Use `node --trace-warnings ...` to show where the warning was created)                                                         
verbose:                     | "                                                                                                                               
verbose:                     | at /home/iojs/tmp/citgm_tmp/4e153d52-d0e6-4ff1-8743-1304b717ff4a/gulp/test/index.test.js:90:22                                  
verbose:                     | at ChildProcess.exithandler (node:child_process:413:7)                                                                          
verbose:                     | at FastEventEmitter.emit (node:internal/events/fast_event_emitter:47:26)                                                        
verbose:                     | at ChildProcess.emit (node:internal/events/event_emitter:448:41)                                                                
verbose:                     | at ChildProcess.emit (node:domain:488:12)                                                                                       
verbose:                     | at maybeClose (node:internal/child_process:1105:16)                                                                             
verbose:                     | at ChildProcess._handle.onexit (node:internal/child_process:305:5) 

@yocontra can you please take a look

What version of node was this run on specifically? And I'm assuming gulp v5?

Gulp tests are mostly smoke tests. Node has removed the vinyl-fs test suite from citgm (and probably other of our projects) and broke it completely with node 22.

master version of node, can probably reproduce with node 22