Skip to content

Commit d241e66

Browse files
committed
chore: wip
1 parent 436384e commit d241e66

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

packages/launchpad/test/install-deps-only.test.ts

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,22 +86,21 @@ describe('Install Dependencies Only', () => {
8686
expect(mockConsoleLog).toHaveBeenCalledWith(expect.stringContaining('php'))
8787
})
8888

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 () => {
9090
const packages = ['php']
9191
await installDependenciesOnly(packages, tempDir)
9292

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
9494
const logCalls = mockConsoleLog.mock.calls.flat()
9595
const warnCalls = mockConsoleWarn.mock.calls.flat()
9696
const allCalls = [...logCalls, ...warnCalls]
9797

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
10399
expect(allCalls.some(call => call.includes('autoconf.gnu.org') || call.includes('autoconf'))).toBe(true)
104100
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)
105104
})
106105

107106
it('should handle multiple packages correctly', async () => {

0 commit comments

Comments
 (0)