forked from ryanmwangi/CalMerger
refactor: move server.js and app.js into src directory
This commit is contained in:
parent
af980956cb
commit
8c0de14d5f
|
@ -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());
|
|
@ -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 () => {
|
||||
|
|
Loading…
Reference in New Issue