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

@@ -24,14 +24,14 @@ describe('pageAdminStore', () => {
expect(store.activePage).toBe('CONFORMANCE');
});
it('setPrevioiusPage converts page name', () => {
store.setPrevioiusPage('CheckPerformance');
it('setPreviousPage converts page name', () => {
store.setPreviousPage('CheckPerformance');
expect(store.previousPage).toBe('PERFORMANCE');
});
it('setPrevioiusPageUsingActivePage copies activePage to previousPage', () => {
it('setPreviousPageUsingActivePage copies activePage to previousPage', () => {
store.setActivePage('CONFORMANCE');
store.setPrevioiusPageUsingActivePage();
store.setPreviousPageUsingActivePage();
expect(store.previousPage).toBe('CONFORMANCE');
});
@@ -58,7 +58,7 @@ describe('pageAdminStore', () => {
});
it('keepPreviousPage restores previous page', () => {
store.setPrevioiusPage('CONFORMANCE');
store.setPreviousPage('CONFORMANCE');
store.setActivePage('PERFORMANCE');
store.keepPreviousPage();
expect(store.activePage).toBe('CONFORMANCE');