diff --git a/__tests__/no-base.test.ts b/__tests__/no-base.test.ts index 93eb0c6..530f9d6 100644 --- a/__tests__/no-base.test.ts +++ b/__tests__/no-base.test.ts @@ -16,7 +16,7 @@ describe("examples w/o base analysis", () => { describe(`example ${example.name}`, () => { const input: Options = { analyzerDirectory: ".analyzer", - budgetPercentIncreaseRed: 20, + percentExtraAttention: 20, includeExtensions: [".js", ".mjs", ".cjs"], metafiles: ["out/meta.json"], name: "test", diff --git a/__tests__/with-base.test.ts b/__tests__/with-base.test.ts index 980c801..99c4f7c 100644 --- a/__tests__/with-base.test.ts +++ b/__tests__/with-base.test.ts @@ -25,7 +25,7 @@ describe("examples w/ base analysis", () => { const input: Options = { analyzerDirectory: ".analyzer", - budgetPercentIncreaseRed: 20, + percentExtraAttention: 20, includeExtensions: [".js", ".mjs", ".cjs"], metafiles, name: "test", diff --git a/dist/index.mjs b/dist/index.mjs index fa38ee2..314ccd7 100644 --- a/dist/index.mjs +++ b/dist/index.mjs @@ -212,15 +212,15 @@ This analysis was generated by [esbuild-bundle-analyzer](https://github.com/exoe }; }); if (hasAnyChange) { - output += markdownTable(comparison, input.budgetPercentIncreaseRed); + output += markdownTable(comparison, input.percentExtraAttention); if (input.showDetails) { output += `
Details

Next to the size is how much the size has increased or decreased compared with the base branch of this PR.