fix: Use triggerAppConfigUpdate spy instead of
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user