website refactor

This commit is contained in:
2026-01-16 01:00:03 +01:00
parent ce7be39155
commit a98e3e3166
286 changed files with 5522 additions and 5261 deletions

View File

@@ -44,8 +44,8 @@ export function createTestContainer(overrides: Map<symbol, any> = new Map()): Co
const container = createContainer();
// Apply mock overrides using rebind
const promises = Array.from(overrides.entries()).map(([token, mockInstance]) => {
return container.rebind(token).then(bind => bind.toConstantValue(mockInstance));
Array.from(overrides.entries()).forEach(([token, mockInstance]) => {
container.rebind(token).then(bind => bind.toConstantValue(mockInstance));
});
// Return container immediately, mocks will be available after promises resolve