✨ refactor: update environment variables and dependencies
This commit is contained in:
@@ -7,8 +7,8 @@ jest.mock('next/server', () => ({
|
||||
|
||||
describe('GET /api/sitemap', () => {
|
||||
beforeAll(() => {
|
||||
process.env.NEXT_PUBLIC_GHOST_API_URL = 'http://localhost:2368';
|
||||
process.env.NEXT_PUBLIC_GHOST_API_KEY = 'test-api-key';
|
||||
process.env.GHOST_API_URL = 'http://localhost:2368';
|
||||
process.env.GHOST_API_KEY = 'test-api-key';
|
||||
process.env.NEXT_PUBLIC_BASE_URL = 'https://dki.one';
|
||||
global.fetch = mockFetch({
|
||||
posts: [
|
||||
|
||||
Reference in New Issue
Block a user