huge linting fixes
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 58s
Some checks failed
Deploy to Test Environment / deploy-to-test (push) Failing after 58s
This commit is contained in:
@@ -3,7 +3,7 @@ import { describe, it, expect, beforeAll, afterAll, vi, afterEach } from 'vitest
|
||||
import supertest from 'supertest';
|
||||
import { createAndLoginUser } from '../utils/testHelpers';
|
||||
import { cleanupDb } from '../utils/cleanup';
|
||||
import type { UserProfile, Recipe, RecipeComment } from '../../types';
|
||||
import type { UserProfile, Recipe } from '../../types';
|
||||
import { getPool } from '../../services/db/connection.db';
|
||||
|
||||
import { aiService } from '../../services/aiService.server';
|
||||
@@ -130,9 +130,9 @@ describe('Recipe API Routes Integration Tests', () => {
|
||||
expect(verifyResponse.status).toBe(200);
|
||||
expect(verifyResponse.body.name).toBe(recipeUpdates.name);
|
||||
});
|
||||
it.todo('should prevent a user from updating another user\'s recipe');
|
||||
it.todo("should prevent a user from updating another user's recipe");
|
||||
it.todo('should allow an authenticated user to delete their own recipe');
|
||||
it.todo('should prevent a user from deleting another user\'s recipe');
|
||||
it.todo("should prevent a user from deleting another user's recipe");
|
||||
it.todo('should allow an authenticated user to post a comment on a recipe');
|
||||
it.todo('should allow an authenticated user to fork a recipe');
|
||||
|
||||
@@ -155,4 +155,4 @@ describe('Recipe API Routes Integration Tests', () => {
|
||||
);
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user