Fix typos: updataFilter, updataConformance, setPrevioiusPage, reallyDeldet, tooken, pageAdimin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -147,19 +147,19 @@ describe('conformanceStore', () => {
|
||||
});
|
||||
});
|
||||
|
||||
describe('updataConformance', () => {
|
||||
describe('updateConformance', () => {
|
||||
it('updates existing log check', async () => {
|
||||
store.conformanceLogCreateCheckId = 50;
|
||||
store.conformanceRuleData = { type: 'updated' };
|
||||
mockAxios.put.mockResolvedValue({ status: 200 });
|
||||
|
||||
await store.updataConformance();
|
||||
await store.updateConformance();
|
||||
|
||||
expect(mockAxios.put).toHaveBeenCalledWith(
|
||||
'/api/log-checks/50',
|
||||
{ type: 'updated' },
|
||||
);
|
||||
expect(store.isUpdataConformance).toBe(true);
|
||||
expect(store.isUpdateConformance).toBe(true);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user