✨ refactor: update environment variables and dependencies
This commit is contained in:
@@ -13,8 +13,8 @@ jest.mock('next/navigation', () => ({
|
||||
|
||||
describe('ProjectDetails', () => {
|
||||
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