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

@@ -173,20 +173,20 @@ describe('allMapDataStore', () => {
});
});
describe('updataFilter', () => {
describe('updateFilter', () => {
it('updates filter and clears temp id', async () => {
store.createFilterId = 88;
store.tempFilterId = 77;
store.postRuleData = [{ type: 'updated' }];
mockAxios.put.mockResolvedValue({ status: 200 });
await store.updataFilter();
await store.updateFilter();
expect(mockAxios.put).toHaveBeenCalledWith(
'/api/filters/88',
[{ type: 'updated' }],
);
expect(store.isUpdataFilter).toBe(true);
expect(store.isUpdateFilter).toBe(true);
expect(store.tempFilterId).toBeNull();
});
});