fix: Use triggerAppConfigUpdate spy instead of

This commit is contained in:
Faruk AYDIN
2024-10-24 17:07:23 +02:00
parent c6f2a97591
commit 62a1072682

View File

@@ -191,7 +191,7 @@ describe('AppAuthClient model', () => {
it('$afterInsert should call AppAuthClient.triggerAppConfigUpdate', async () => { it('$afterInsert should call AppAuthClient.triggerAppConfigUpdate', async () => {
const appAuthClientAfterInsertSpy = vi.spyOn( const appAuthClientAfterInsertSpy = vi.spyOn(
AppAuthClient.prototype, AppAuthClient.prototype,
'$afterInsert' 'triggerAppConfigUpdate'
); );
await createAppAuthClient(); await createAppAuthClient();