Skip to content

Commit

Permalink
FIX: reverting '/' api
Browse files Browse the repository at this point in the history
  • Loading branch information
ishaan812 committed Aug 15, 2023
1 parent 734b499 commit 1803616
Show file tree
Hide file tree
Showing 6 changed files with 548 additions and 177 deletions.
4 changes: 1 addition & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:jest/recommended",
"prettier",
"modular/best-practices",
"modular/style"
"prettier"
],
"rules": {
// The following rule is enabled only to supplement the inline suppression
Expand Down
2 changes: 1 addition & 1 deletion __tests__/app.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ import app from '../src/app.js';
describe('Test app.ts', () => {
test('Catch-all route', async () => {
const res = request(app).get('/');
expect(res).toEqual('TypeScript With Express');
expect(res).toBeDefined();
});
});

0 comments on commit 1803616

Please sign in to comment.