break cycle

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/28880/head
Michael Telatynski 2025-01-06 15:47:23 +00:00
parent d80ad9d358
commit 08bb07e680
No known key found for this signature in database
GPG Key ID: A2B008A5F49F5D0D
2 changed files with 4 additions and 4 deletions

View File

@ -17,7 +17,7 @@ const test = base.extend<Fixtures>({
startHomeserverOpts: async ({}, use) => {
await use("dehydration");
},
context: async ({ config, context }, use) => {
config: async ({ config, context }, use) => {
const wellKnown = {
...config.default_server_config,
"org.matrix.msc3814": true,
@ -27,7 +27,7 @@ const test = base.extend<Fixtures>({
await route.fulfill({ json: wellKnown });
});
await use(context);
await use(config);
},
});

View File

@ -40,7 +40,7 @@ export const test = base.extend<{
},
});
},
context: async ({ config, startHomeserverOpts, context }, use) => {
config: async ({ config, startHomeserverOpts, context }, use) => {
const issuer = `http://localhost:${(startHomeserverOpts as StartHomeserverOpts).variables["MAS_PORT"]}/`;
const wellKnown = {
...config.default_server_config,
@ -55,7 +55,7 @@ export const test = base.extend<{
await route.fulfill({ json: wellKnown });
});
await use(context);
await use(config);
},
});