Skip to content

madetech/typescript_katas_starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript Katas Starter

  • Write test files in the tests directory (e.g., *.spec.ts).
  • Write your kata solutions in the app directory.

Suggested Katas

A list of Made Tech Katas

You can find TDD learning resources on our Learn Tech site.

Prerequisites

  • Install Bun: https://bun.com/docs/installation
    • Via script (see the Bun website for latest): curl -fsSL https://bun.sh/install | bash
    • npm (the last npm command you'll ever need!) - npm install -g bun
    • macOS (Homebrew): brew install oven-sh/bun/bun
    • Windows: powershell -c "irm bun.sh/install.ps1|iex"

Running tests (Bun)

  • Install type definitions
bun install
  • Run all tests
bun test
  • Watch mode
bun test --watch
  • Run a single test file (pattern)
bun test subtract
  • Coverage
bun test --coverage

Notes

  • Bun uses tsconfig.json via bunfig.toml, including the @/* alias → app/*.
  • Bun's test runner is similar to Jest but has some differences; see https://bun.sh/docs/test for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors