test: stage the legal files in the launcher archive fixture

build-server-archive.mjs now requires LICENSE and THIRD_PARTY_NOTICES.md,
so the installer fixture stages both and checks that they land next to
service.js. The sidecar half of the legal route test gets the 60 s hook
timeout the other full-server suites use.
This commit is contained in:
shumeiko.it
2026-11-04 10:47:15 +01:00
parent fc9ab861ee
commit d3a39fe3cf
2 changed files with 6 additions and 1 deletions

View File

@@ -95,7 +95,7 @@ describe('legal routes in the sidecar', () => {
vi.stubEnv('WAGGLE_TRUST_LOCALHOST', '0');
dataDir = fs.mkdtempSync(path.join(os.tmpdir(), 'waggle-legal-server-'));
server = await buildLocalServer({ dataDir });
});
}, 60_000);
afterAll(async () => {
await server.close();