Testing an Auth-Only Route
Testing an Auth-Only Route:
Let’s test a route that requires authentication: update/profile
. First, we will create the case alongside a test user.
test("updates a user's profile", async ({
...Create a free account to view this lesson.
By signing up, you agree to Educative's Terms of Service and Privacy Policy