✨ refactor: update environment variables and dependencies
This commit is contained in:
@@ -6,8 +6,8 @@ import { mockFetch } from '@/app/__tests__/__mocks__/mock-fetch';
|
||||
|
||||
describe('Projects', () => {
|
||||
beforeAll(() => {
|
||||
process.env.NEXT_PUBLIC_GHOST_API_URL = 'http://localhost:2368';
|
||||
process.env.NEXT_PUBLIC_GHOST_API_KEY = 'some-key';
|
||||
process.env.GHOST_API_URL = 'http://localhost:2368';
|
||||
process.env.GHOST_API_KEY = 'some-key';
|
||||
global.fetch = mockFetch({
|
||||
posts: [
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user