chore(test-app): remove unnecessary eslint-disable comments
- Remove eslint-disable-next-line no-console comments from test app - Cleanup whitespace in router navigation logs
This commit is contained in:
@@ -175,7 +175,7 @@ export class TestUserZeroAPI {
|
|||||||
): Promise<typeof MOCK_STARRED_PROJECTS_RESPONSE> {
|
): Promise<typeof MOCK_STARRED_PROJECTS_RESPONSE> {
|
||||||
if (TEST_USER_ZERO_CONFIG.testing.enableMockResponses) {
|
if (TEST_USER_ZERO_CONFIG.testing.enableMockResponses) {
|
||||||
// Return mock data for offline testing
|
// Return mock data for offline testing
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log("🧪 Using mock starred projects response");
|
console.log("🧪 Using mock starred projects response");
|
||||||
return MOCK_STARRED_PROJECTS_RESPONSE;
|
return MOCK_STARRED_PROJECTS_RESPONSE;
|
||||||
}
|
}
|
||||||
@@ -193,9 +193,9 @@ export class TestUserZeroAPI {
|
|||||||
afterId: afterId || TEST_USER_ZERO_CONFIG.starredProjects.lastAckedJwtId
|
afterId: afterId || TEST_USER_ZERO_CONFIG.starredProjects.lastAckedJwtId
|
||||||
};
|
};
|
||||||
|
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log("🌐 Making real API call to:", url);
|
console.log("🌐 Making real API call to:", url);
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log("📦 Request body:", requestBody);
|
console.log("📦 Request body:", requestBody);
|
||||||
|
|
||||||
const response = await fetch(url, {
|
const response = await fetch(url, {
|
||||||
@@ -217,7 +217,7 @@ export class TestUserZeroAPI {
|
|||||||
refreshToken(): void {
|
refreshToken(): void {
|
||||||
this.jwt = generateTestJWT();
|
this.jwt = generateTestJWT();
|
||||||
|
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log("🔄 JWT token refreshed");
|
console.log("🔄 JWT token refreshed");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -105,7 +105,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Add loading state
|
// Add loading state
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log(`🔄 Navigating from ${String(from.name) || 'unknown'} to ${String(to.name) || 'unknown'}`)
|
console.log(`🔄 Navigating from ${String(from.name) || 'unknown'} to ${String(to.name) || 'unknown'}`)
|
||||||
|
|
||||||
next()
|
next()
|
||||||
@@ -113,7 +113,7 @@ router.beforeEach((to, from, next) => {
|
|||||||
|
|
||||||
router.afterEach((to) => {
|
router.afterEach((to) => {
|
||||||
// Clear any previous errors on successful navigation
|
// Clear any previous errors on successful navigation
|
||||||
// eslint-disable-next-line no-console
|
|
||||||
console.log(`✅ Navigation completed: ${String(to.name) || 'unknown'}`)
|
console.log(`✅ Navigation completed: ${String(to.name) || 'unknown'}`)
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user