Add handler for tests

This commit is contained in:
Nick Mowen 2022-05-06 06:55:21 -05:00
parent 9fe3584a77
commit c027d406c5

View File

@ -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',
])
);
}),
]; ];