feat: Add slashcommand api

This commit is contained in:
2026-06-05 17:12:26 +02:00
parent 4070ef6caf
commit 8ecfc9a1fe
101 changed files with 3526 additions and 147 deletions

View File

@@ -40,10 +40,7 @@ function createHarness(options: HarnessOptions = {}) {
dispatch: vi.fn()
} as unknown as Store;
const injector = Injector.create({
providers: [
FindPeopleComponent,
{ provide: Store, useValue: store }
]
providers: [FindPeopleComponent, { provide: Store, useValue: store }]
});
const component = runInInjectionContext(injector, () => injector.get(FindPeopleComponent));