test(ci): add watch paths phase 4 fixture

This commit is contained in:
2026-11-17 05:00:23 +00:00
parent 0b0c0dabee
commit 70cdf742aa
12 changed files with 107 additions and 38 deletions

11
web/server.js Normal file
View File

@@ -0,0 +1,11 @@
const http = require("node:http");
const { fixtureName } = require("watch-paths-fixture-shared");
const server = http.createServer((request, response) => {
response.setHeader("Content-Type", "application/json");
if (request.url === "/health") {
response.writeHead(200).end(JSON.stringify({ status: "ok", service: "web", fixtureName }));
return;
}
response.writeHead(200).end(JSON.stringify({ service: "web", fixtureName }));
});
server.listen(8080, "0.0.0.0");