Skip to content

Commit 7b3eb23

Browse files
committed
test: remove redundant app.test.js tests
1 parent 8b04533 commit 7b3eb23

File tree

1 file changed

+2
-20
lines changed

1 file changed

+2
-20
lines changed

test/app.test.js

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -58,26 +58,8 @@ describe('GET /random-url', () => {
5858
});
5959
});
6060

61-
describe('core GET routes do not throw', () => {
62-
const routes = [
63-
'/',
64-
'/login',
65-
'/logout',
66-
'/signup',
67-
'/forgot',
68-
'/contact',
69-
'/login/2fa',
70-
'/login/2fa/totp',
71-
'/login/webauthn-start',
72-
'/login/verify/testtoken',
73-
'/reset/testtoken',
74-
'/account',
75-
'/account/verify',
76-
'/account/verify/testtoken',
77-
'/account/2fa/totp/setup',
78-
'/account/webauthn/register',
79-
'/auth/failure',
80-
];
61+
describe('Other core GET routes do not cause errors', () => {
62+
const routes = ['/logout', '/login/2fa', '/login/2fa/totp', '/login/webauthn-start', '/login/verify/testtoken', '/reset/testtoken', '/account', '/account/verify', '/account/verify/testtoken', '/account/2fa/totp/setup', '/account/webauthn/register', '/auth/failure'];
8163

8264
routes.forEach((route) => {
8365
it(`GET ${route}`, async () => {

0 commit comments

Comments
 (0)