test: test Arduino state update for extensions

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2023-11-23 10:56:09 +01:00
committed by Akos Kitta
parent 5abdc18fcc
commit 42bf1a0e99
7 changed files with 716 additions and 11 deletions

View File

@@ -222,7 +222,7 @@ export async function createBaseContainer(
}
const container = new Container({ defaultScope: 'Singleton' });
const module = new ContainerModule((bind, unbind, isBound, rebind) => {
bindCommon(bind);
bindCommon(bind, unbind, isBound, rebind);
bind(CoreClientProvider).toSelf().inSingletonScope();
bind(CoreServiceImpl).toSelf().inSingletonScope();
bind(CoreService).toService(CoreServiceImpl);