Fix typos: updataFilter, updataConformance, setPrevioiusPage, reallyDeldet, tooken, pageAdimin
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user