Skip to content

add unit tests for Tailwind and PostCSS configuration files

SandhyaRani Bandaram requested to merge coverage-improvement-config into AI-HackDays

Description:

This MR adds unit tests for the root configuration files postcss.config.js and tailwind.config.js to improve test coverage.
The tests validate that the configuration objects export correctly and contain the required properties such as plugins, theme configuration, content paths, font family settings, and dark mode configuration.

This helps ensure configuration stability and increases overall project test coverage.


Type of Change:

    • Feature Development
    • Bug Fix
    • Documentation

Testing:

    • Tested on mobile
    • Tested on desktop
    • Tested in different browsers

Tests were executed using Vitest and all tests are passing successfully.


Screenshots (if applicable):

Screenshot from 2026-03-26 11-33-45.png


Video Demo

Add a link to the demo of the PR

If you have used AI create this PR, please also record video of yourself explaining the changes.

Link to code walkthrough


Checklist:

    • Self-review completed
    • Code follows project style guidelines
    • No console errors
    • TypeScript types are correct

Related issues:

#40 (closed)

This reverts commit 27281e11, reversing changes made to f28cdcb7.

Edited by SandhyaRani Bandaram

Merge request reports

Loading