Skip to content

Instantly share code, notes, and snippets.

@delorenj
Created March 5, 2025 23:24
Show Gist options
  • Save delorenj/626a20e93fcda43989115d8eb22e02ea to your computer and use it in GitHub Desktop.
Save delorenj/626a20e93fcda43989115d8eb22e02ea to your computer and use it in GitHub Desktop.
---
description: These rules dictate how to install packages and run tests
globs:
alwaysApply: false
---
# Server Yarn Package and Test
- use yarn, not npm
- use `--no-watch` flag when running tests
- use `yarn test packages/server/src/events --no-watch` to run tests
- use `vi` not `jest`
- unit tests live in their component's immediate `__tests__` folder
- event integration tests live in the root component test folder: `packages/server/src/events/__tests__`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment