feat(HMS-4200): remove blueprint endpoints /experimental
This commit is contained in:
parent
55d56a3198
commit
54d09d636e
6 changed files with 472 additions and 234 deletions
|
|
@ -57,12 +57,9 @@ describe('Blueprints', () => {
|
|||
window.HTMLElement.prototype.scrollTo = function () {};
|
||||
|
||||
server.use(
|
||||
rest.get(
|
||||
`${IMAGE_BUILDER_API}/experimental/blueprints`,
|
||||
(req, res, ctx) => {
|
||||
return res(ctx.status(200), ctx.json(emptyGetBlueprints));
|
||||
}
|
||||
)
|
||||
rest.get(`${IMAGE_BUILDER_API}/blueprints`, (req, res, ctx) => {
|
||||
return res(ctx.status(200), ctx.json(emptyGetBlueprints));
|
||||
})
|
||||
);
|
||||
|
||||
const { router } = await renderWithReduxRouter('', {});
|
||||
|
|
@ -163,7 +160,7 @@ describe('Blueprints', () => {
|
|||
test('redirect to index page when blueprint is invalid', async () => {
|
||||
server.use(
|
||||
rest.get(
|
||||
`${IMAGE_BUILDER_API}/experimental/blueprints/invalid-compose-id`,
|
||||
`${IMAGE_BUILDER_API}/blueprints/invalid-compose-id`,
|
||||
(req, res, ctx) => {
|
||||
return res(ctx.status(404));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue