diff --git a/packages/create-plugin/__e2e__/e2e.test.ts b/packages/create-plugin/__e2e__/e2e.test.ts index bd05ebd36c..80d3896633 100644 --- a/packages/create-plugin/__e2e__/e2e.test.ts +++ b/packages/create-plugin/__e2e__/e2e.test.ts @@ -33,6 +33,7 @@ export type TestPattern = { outputDir: string; questionsInput: QuestionInput[]; commandArgument?: string; + template?: "minimum" | "modern"; }; expected: { success?: { @@ -83,7 +84,10 @@ describe("create-plugin", function () { const pluginDir = path.resolve(workingDir, input.outputDir); assert.ok(fs.existsSync(pluginDir), "plugin dir is not created."); - const actualManifestJson = readPluginManifestJson(pluginDir); + const actualManifestJson = readPluginManifestJson( + pluginDir, + input.template, + ); assertObjectIncludes(actualManifestJson, expected.success.manifestJson); }