From c19ee3904f59489cc2f5cff9215fc9f7189b3c9b Mon Sep 17 00:00:00 2001 From: SandraBergstrom Date: Tue, 4 Jul 2023 18:58:42 +0000 Subject: [PATCH] #56 Add post to dj-rest-auth --- src/mocks/handlers.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mocks/handlers.js b/src/mocks/handlers.js index ff7f80c..8c196a9 100644 --- a/src/mocks/handlers.js +++ b/src/mocks/handlers.js @@ -20,4 +20,7 @@ export const handlers = [ rest.post(`${baseURL}dj-rest-auth/logout/`, (req, res, ctx) => { return res(ctx.status(200)); }), + rest.post(`${baseURL}dj-rest-auth/token/refresh/`, (req, res, ctx) => { + return res(ctx.status(200)); + }), ];