From c027d406c52280a6ffb07b3682e4daff28ea3301 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Fri, 6 May 2022 06:55:21 -0500 Subject: [PATCH] Add handler for tests --- web/config/handlers.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/web/config/handlers.js b/web/config/handlers.js index 7afd23109..d9cf5dd0d 100644 --- a/web/config/handlers.js +++ b/web/config/handlers.js @@ -72,4 +72,13 @@ export const handlers = [ ) ); }), + rest.get(`${API_HOST}/api/sub_labels`, (req, res, ctx) => { + return res( + ctx.status(200), + ctx.json([ + 'one', + 'two', + ]) + ); + }), ];