Fix typos: updataFilter, updataConformance, setPrevioiusPage, reallyDeldet, tooken, pageAdimin

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-06 08:43:09 +08:00
parent 6cb08df2e4
commit 79811435de
11 changed files with 55 additions and 55 deletions

View File

@@ -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);
});
});