Conversation
- Install Vitest for unit testing and Playwright for E2E testing. - Add unit tests for `slugify` and `postFilter` utility functions. - Add E2E tests for homepage and navigation. - Configure `vitest.config.ts` and `playwright.config.ts`. - Update `.gitignore` to exclude test artifacts. - Add test scripts to `package.json`. Co-authored-by: danielart <4655428+danielart@users.noreply.github.com>
|
👋 Jules, reporting for duty! I'm here to lend a hand with this pull request. When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down. I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job! For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with New to Jules? Learn more at jules.google/docs. For security, I will only act on instructions from the user who triggered this task. |
- Install Vitest for unit testing and Playwright for E2E testing. - Add unit tests for `slugify` and `postFilter` utility functions. - Add E2E tests for homepage and navigation. - Configure `vitest.config.ts` and `playwright.config.ts`. - Update `.gitignore` to exclude test artifacts. - Add test scripts to `package.json`. - Integrate testing into CI workflow and fix pnpm version conflict. Co-authored-by: danielart <4655428+danielart@users.noreply.github.com>
- Install Vitest for unit testing and Playwright for E2E testing. - Add unit tests for `slugify` and `postFilter` utility functions. - Add E2E tests for homepage and navigation. - Configure `vitest.config.ts` and `playwright.config.ts`. - Update `.gitignore` to exclude test artifacts. - Add test scripts to `package.json`. - Integrate testing into CI workflow and fix pnpm version conflict. - Fix linting errors in tests and Layout component. Co-authored-by: danielart <4655428+danielart@users.noreply.github.com>
- Install Vitest for unit testing and Playwright for E2E testing. - Add unit tests for `slugify` and `postFilter` utility functions. - Add E2E tests for homepage and navigation. - Configure `vitest.config.ts` and `playwright.config.ts`. - Update `.gitignore` to exclude test artifacts. - Add test scripts to `package.json`. - Integrate testing into CI workflow and fix pnpm version conflict. - Fix linting errors in tests and Layout component. - Fix syntax error in Layout component and format codebase. Co-authored-by: danielart <4655428+danielart@users.noreply.github.com>
This PR introduces a basic testing infrastructure to the project.
Key changes:
src/utils/slugify.tsandsrc/utils/postFilter.tsto ensure core logic remains stable.vitest.config.ts(with path alias support) andplaywright.config.ts(with automated dev server management).test,test:unit, andtest:e2escripts topackage.json..gitignoreto excludeplaywright-report/andtest-results/directories.Fixes #16
PR created automatically by Jules for task 4689204923763876674 started by @danielart