Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/justsml/modern-app-template
🚀 Example mono-repo: Node.js 16, TypeScript, Jest, GH Actions. Many testing strategies featured! ✨
https://github.com/justsml/modern-app-template
integration-testing jest mocking nodejs pollyjs testing-strategy testing-techniques typescript unit-testing
Last synced: 3 months ago
JSON representation
🚀 Example mono-repo: Node.js 16, TypeScript, Jest, GH Actions. Many testing strategies featured! ✨
- Host: GitHub
- URL: https://github.com/justsml/modern-app-template
- Owner: justsml
- Created: 2021-11-30T21:25:06.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-06T19:46:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-11T23:25:15.453Z (3 months ago)
- Topics: integration-testing, jest, mocking, nodejs, pollyjs, testing-strategy, testing-techniques, typescript, unit-testing
- Language: TypeScript
- Homepage:
- Size: 1.13 MB
- Stars: 6
- Watchers: 3
- Forks: 1
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Example Coding Patterns
- [x] [HTTP Validators](/packages/api-validator) (Zod, Joi, ad-hoc function)
- [x] Testing with variety of mocking strategies.
- [ ] Cypress E2E,
- [x] [Shallow fakes](/packages/api-validator/src/utils/mockFetch.ts),
- [x] [PollyJS](/packages/server/lib/github-api.test.ts),
- [ ] MSW,
- [ ] Mirage.
- [x] Pure unit tests.
- [x] [Test Scoping Patterns: Examples](/packages/demo-test-styles)
1. [Style 1: Inline Inputs & Outputs](/packages/demo-test-styles/src/index.style1.test.ts)
2. [Style 2: Local Helper Function](/packages/demo-test-styles/src/index.style2.test.ts)
3. [Style 3: Hierarchy & Scoped Tests](/packages/demo-test-styles/src/index.style3.test.ts)
- [x] Integrated [Server](/packages/server) & [Client](/src) example.
- [x] Yarn workspaces (multi `package.json`, single `node_modules`.)
- [x] Multi-project Jest w/ GH Action runner.