1
0
Fork 0

refactor: move server.js and app.js into src directory

This commit is contained in:
Ryan Mwangi 2024-11-11 20:14:49 +03:00
parent af980956cb
commit 8c0de14d5f
3 changed files with 2 additions and 2 deletions

View File

View File

@ -1,6 +1,6 @@
import express from 'express';
import path from 'path';
import routes from './src/routes.js';
import routes from './routes.js';
const app = express();
app.use(express.json());

View File

@ -10,7 +10,7 @@ const EXPECTED_OUTPUTS_DIR = path.join(__dirname, 'expected_outputs');
let server;
process.chdir(__dirname)
console.log(process.cwd());
const app = require('../server').default;
const app = require('../src/server').default;
describe('Calendar Merging API', () => {
beforeAll(async () => {