Skip to content
Snippets Groups Projects
Commit 8ae5cb8b authored by Marcus Schiesser's avatar Marcus Schiesser
Browse files

fix: skip simple/nextjs combination

parent 5fc9d0ab
No related branches found
No related tags found
Loading
...@@ -17,14 +17,18 @@ for (const templateType of templateTypes) { ...@@ -17,14 +17,18 @@ for (const templateType of templateTypes) {
for (const templateFramework of templateFrameworks) { for (const templateFramework of templateFrameworks) {
for (const templateEngine of templateEngines) { for (const templateEngine of templateEngines) {
for (const templateUI of templateUIs) { for (const templateUI of templateUIs) {
const appType: AppType = if (templateFramework === "nextjs" && templateType === "simple") {
templateFramework === "express" || templateFramework === "fastapi" // nextjs doesn't support simple templates - skip tests
? "--frontend" continue;
: ""; }
if (templateEngine === "context") { if (templateEngine === "context") {
// we don't test context templates because it needs OPEN_AI_KEY // we don't test context templates because it needs OPEN_AI_KEY
continue; continue;
} }
const appType: AppType =
templateFramework === "express" || templateFramework === "fastapi"
? "--frontend"
: "";
test(`try create-llama ${templateType} ${templateFramework} ${templateEngine} ${templateUI} ${appType}`, async ({ test(`try create-llama ${templateType} ${templateFramework} ${templateEngine} ${templateUI} ${appType}`, async ({
page, page,
}) => { }) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment