chore: remediate CI blockers for production readiness
This commit is contained in:
@@ -90,6 +90,11 @@ describe('middleware – authentication guard', () => {
|
||||
expect(mockRedirectFn).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('allows unauthenticated user to reach /pricing', () => {
|
||||
middleware(makeRequest('/pricing', false));
|
||||
expect(mockRedirectFn).not.toHaveBeenCalled();
|
||||
});
|
||||
|
||||
it('allows unauthenticated user to reach /login', () => {
|
||||
middleware(makeRequest('/login', false));
|
||||
expect(mockRedirectFn).not.toHaveBeenCalled();
|
||||
|
||||
Reference in New Issue
Block a user