@@ -86,22 +86,21 @@ describe('Install Dependencies Only', () => {
86
86
expect ( mockConsoleLog ) . toHaveBeenCalledWith ( expect . stringContaining ( 'php' ) )
87
87
} )
88
88
89
- it ( 'should filter out problematic dependencies from PHP' , async ( ) => {
89
+ it ( 'should include all dependencies from PHP package (no filtering since source builds removed) ' , async ( ) => {
90
90
const packages = [ 'php' ]
91
91
await installDependenciesOnly ( packages , tempDir )
92
92
93
- // Should not try to install problematic dependencies like zlib.net, libzip.org
93
+ // All dependencies should now be included since we removed problematic filtering
94
94
const logCalls = mockConsoleLog . mock . calls . flat ( )
95
95
const warnCalls = mockConsoleWarn . mock . calls . flat ( )
96
96
const allCalls = [ ...logCalls , ...warnCalls ]
97
97
98
- // These should be filtered out
99
- expect ( allCalls . some ( call => call . includes ( 'zlib.net' ) ) ) . toBe ( false )
100
- expect ( allCalls . some ( call => call . includes ( 'libzip.org' ) ) ) . toBe ( false )
101
-
102
- // These should be included
98
+ // These should all be included now
103
99
expect ( allCalls . some ( call => call . includes ( 'autoconf.gnu.org' ) || call . includes ( 'autoconf' ) ) ) . toBe ( true )
104
100
expect ( allCalls . some ( call => call . includes ( 'curl.se' ) || call . includes ( 'curl' ) ) ) . toBe ( true )
101
+
102
+ // Should skip the main package itself
103
+ expect ( allCalls . some ( call => call . includes ( '⏭️ Skipping' ) && call . includes ( 'main package' ) ) ) . toBe ( true )
105
104
} )
106
105
107
106
it ( 'should handle multiple packages correctly' , async ( ) => {
0 commit comments