Skip to content

test: enhance test coverage#32

Closed
chiragmak10 wants to merge 3 commits into
masterfrom
fix-setup
Closed

test: enhance test coverage#32
chiragmak10 wants to merge 3 commits into
masterfrom
fix-setup

Conversation

@chiragmak10

Copy link
Copy Markdown
Owner

No description provided.

@github-actions

github-actions Bot commented Feb 20, 2026

Copy link
Copy Markdown
Contributor

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@github-actions

Copy link
Copy Markdown
Contributor

Coverage after merging fix-setup into master will be

79.13%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
.eslintrc.cjs0%0%0%0%1, 1, 10–19, 2, 20–24, 3–9
eslint.config.js0%0%0%0%1, 1, 10–19, 2, 20–29, 3, 30–32, 4–9
vitest.config.ts0%0%0%0%1, 1, 10–14, 16–25, 3–9
src
   index.ts0%0%0%0%1, 1, 3, 5–8
src/__tests__
   architecture-generator.test.ts100%100%100%100%
   cli-parser.test.ts100%100%100%100%
   conditional-prompts.test.ts100%100%100%100%
   config-builder.test.ts100%100%100%100%
   config-merger.test.ts100%100%100%100%
   dependency-resolver.test.ts100%100%100%100%
   installer.test.ts100%100%100%100%
   plugin-loader.test.ts100%100%100%100%
   plugin-manager.test.ts100%100%100%100%
   readme-generator.test.ts100%100%100%100%
   styling-alignment.test.ts100%100%100%100%
   template-utils.test.ts100%100%100%100%
   testing-configurer.test.ts100%100%100%100%
src/__tests__/integration
   build-verification.test.ts100%100%100%100%
   generator.test.ts86.48%96.55%100%85.26%196–208, 210–211, 213, 215–217, 220, 223–224, 227, 231–242, 244–245, 247, 249–250, 253, 256, 34
   package-json.test.ts97.56%100%100%97.27%169–173, 175–176, 178–179, 181
   scenarios.test.ts94.80%100%100%94.28%234–246, 248–249, 251, 253–255, 258–260, 263
   styling-verification.test.ts100%100%100%100%
   template-loading.test.ts100%100%100%100%
src/assembler
   index.ts87.57%86.21%78.26%89.47%130–131, 137–138, 155–156, 202–204, 213–215, 224–225, 231–232, 80–81
   merger.ts89.71%84.21%100%91.30%50, 50, 50, 52–55
src/cli
   index.ts0%0%0%0%1, 1, 101, 104–105, 107–109, 11, 110–111, 113–119, 12, 120–124, 15, 17–26, 28–35, 37–39, 41–42, 47–55, 60–76, 81–83, 85, 87, 90, 93–98
   parser.ts95.45%75%100%96.67%15–17
   prompts.ts0%0%0%0%1, 1, 101–102, 104–112, 114–122, 124–127, 129–136, 138–141, 143–146, 148–163, 168–173, 27–39, 41–44, 46–52, 54–60, 65–76, 78–80, 82–90, 92–99
src/config
   builder.ts54.84%81.82%44.44%53.68%109, 11, 118–119, 20–22, 35–37, 40–42, 45–50, 53–58, 61–66, 69–74, 77–79, 82–87
   defaults.ts100%100%100%100%
   schema.ts100%100%100%100%
src/dependencies
   resolver.ts92.04%87.50%83.33%93.41%131–133, 143–144, 90–92
src/docs
   architecture-generator.ts100%100%100%100%
   index.ts100%100%100%100%
   readme-generator.ts98.06%94.34%100%98.99%19–21, 301, 97
src/generator
   index.ts68.28%61.54%66.67%69.05%102–104, 110–119, 134–138, 145–148, 151, 189, 191–201, 203–205, 216, 228, 235–238
src/lifecycle
   index.ts100%100%100%100%
   installer.ts100%100%100%100%
src/plugins
   index.ts100%100%100%100%
   loader.ts100%100%100%100%
   manager.ts100%100%100%100%
   types.ts100%100%100%100%
src/templates
   registry.ts79.92%81.82%62.50%80.95%109, 111, 140–142, 157, 197–198, 204–205, 211–212, 218–221, 283–285, 287–289, 291–293, 295–296, 302, 304–306, 308–309, 311–312, 342–344, 45, 47–48, 82–84
   utils.ts100%100%100%100%
src/testing
   configurer.ts75%65%77.78%77.11%101–103, 128, 140, 17, 170, 18, 181, 19, 27, 58–62, 71–74, 86–88, 94–96
test
   vite.config.ts0%0%0%0%1, 1, 10–19, 2, 20–21, 3, 6–9
test/src
   main.tsx0%0%0%0%1, 1–3, 5–9
test/src/app
   App.tsx0%0%0%0%1, 1, 10, 4–8
   provider.tsx0%0%0%0%1, 1, 12–21, 23
   router.tsx0%0%0%0%1, 1, 10–15, 17–18, 5–9
test/src/components/errors
   ErrorFallback.tsx0%0%0%0%1, 1, 12, 16, 22, 27, 4, 45–53, 55
test/src/components/ui
   Button.styled.ts0%0%0%0%1, 1, 12–14, 27, 3, 40
   Button.tsx0%0%0%0%1, 1, 10–11, 111–129, 131–133, 135–136, 138, 18, 25, 33, 40, 47, 49–50, 54, 58, 62, 64, 88–89, 92
   Input.tsx0%0%0%0%1, 1, 13, 21, 28, 39–40, 50, 56–58, 60–72, 74–75, 77, 9
   LoadingSpinner.tsx0%0%0%0%1, 1, 16–20, 22, 28–30, 34, 37–41, 43, 7
   index.ts0%0%0%0%1, 1
test/src/features/misc/routes
   Landing.tsx0%0%0%0%1, 1, 12, 16, 27, 34, 4, 42, 63, 75–80, 82–94, 96
   NotFound.tsx0%0%0%0%1, 1, 12, 16, 22, 34, 4, 41, 49, 70–76, 78–83, 85
test/src/hooks
   use-disclosure.ts0%0%0%0%1, 1, 10–12, 14–20, 7–8
   use-local-storage.ts0%0%0%0%1, 1, 11–14, 16–23, 25, 28–33, 35–38, 41–47, 50–53, 55–59, 6, 60–61, 64–67, 69, 7, 70, 72–76, 78–79, 8–9
test/src/lib
   api-client.ts3.08%100%100%0%100–101, 103–104, 106–107, 109–110, 112–114, 19, 21–23, 25–27, 29–30, 32, 37–38, 40–44, 46–47, 52–53, 55–57, 59–60, 65–69, 71, 73–81, 83–86, 88, 90–94,

@chiragmak10 chiragmak10 deleted the fix-setup branch March 4, 2026 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant