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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user