Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [18.x, 20.x, 22.x, 23.x]
node-version: [18.x, 20.x, 22.x, 24.x]
shard: ["1/4", "2/4", "3/4", "4/4"]
webpack-version: [latest]

Expand Down
31 changes: 18 additions & 13 deletions test/cli/server-option.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,24 @@ describe('"server" CLI options', () => {
).toMatchSnapshot();
});

it('should work using "--server-type spdy"', async () => {
const { exitCode, stderr } = await testBin([
"--port",
port,
"--server-type",
"spdy",
]);

expect(exitCode).toEqual(0);
expect(
normalizeStderr(stderr, { ipv6: true, https: true }),
).toMatchSnapshot();
});
const [major] = process.versions.node.split(".").map(Number);

(major >= 24 ? it.skip : it)(
'should work using "--server-type spdy"',
async () => {
const { exitCode, stderr } = await testBin([
"--port",
port,
"--server-type",
"spdy",
]);

expect(exitCode).toEqual(0);
expect(
normalizeStderr(stderr, { ipv6: true, https: true }),
).toMatchSnapshot();
},
);

it('should work using "--server-options-key <path> --server-options-pfx <path> --server-options-passphrase webpack-dev-server --server-options-cert <path>"', async () => {
const pfxFile = path.join(httpsCertificateDirectory, "server.pfx");
Expand Down
309 changes: 0 additions & 309 deletions test/e2e/__snapshots__/app.test.js.snap.webpack5

This file was deleted.

Loading