Open
Description
There are functions of type e
that have a description:
e(
"throws an error if Memoization enabled without the Repetition mode enabled", // - this
() =>
compile(
createTestObj2(
`<button>Click</button>{{#r src="/api/test" after="click:#increment" memo=true repeat=false}}{{/r}}`
)
)(),
`${REQUEST_COMPONENT_ERROR}: Memoization works in the enabled repetition mode`
);
And some functions do not have such a description:
aeq(
`${aeq5}`, // - ?
(res, prop, value) => {
switch (prop) {
case "response":
if (value?.outerHTML === `<template><p>Error</p></template>`) {
res(true);
}
break;
}
},
{},
{
code: 405
}
);
So, we need to go through the tests and simply add support for those functions where there is no such description.
Tests folder: https://github.com/hmpl-language/hmpl/blob/main/test