Этот материал находится в платной подписке. Оформи премиум подписку и смотри или слушай Custom Node.js package in Typescript with Jest TDD, а также все другие курсы, прямо сейчас!
Премиум
  1. Урок 1. 00:02:02
    What will this course be about?
  2. Урок 2. 00:01:39
    Create and clone git repository
  3. Урок 3. 00:03:03
    Add tsconfig.json as TypeScript configuration
  4. Урок 4. 00:02:36
    Install development dependencies
  5. Урок 5. 00:01:59
    Jest config for tests
  6. Урок 6. 00:01:47
    .gitignore and .npmignore
  7. Урок 7. 00:03:43
    First test case and Food class
  8. Урок 8. 00:03:27
    Add name and unit to Food
  9. Урок 9. 00:07:46
    Add base values to Food
  10. Урок 10. 00:06:53
    Error handling and invalid name error in Food
  11. Урок 11. 00:04:45
    Invalid amount error in Food
  12. Урок 12. 00:02:18
    Refactor: extract validations from the constructor
  13. Урок 13. 00:04:42
    Current values of Food
  14. Урок 14. 00:05:15
    Change current amount
  15. Урок 15. 00:03:53
    How to calculate current calories value
  16. Урок 16. 00:04:23
    Calculate current calories value
  17. Урок 17. 00:03:52
    Replace string unit parameter with Unit enum
  18. Урок 18. 00:06:48
    Calculate other nutrient values as the amount changes
  19. Урок 19. 00:03:15
    Refactor other nutrient value calculation
  20. Урок 20. 00:03:56
    How to calculate current values as the calories changing
  21. Урок 21. 00:06:03
    Change calories with calculate other values
  22. Урок 22. 00:03:01
    Refactor: collect similar test cases into a describe
  23. Урок 23. 00:03:36
    Change fat and recalculate others
  24. Урок 24. 00:08:08
    Change protein, carbohydrate and recalculate other values
  25. Урок 25. 00:02:45
    Export types and classes from the package
  26. Урок 26. 00:05:38
    Production build, versions and publish
  27. Урок 27. 00:11:39
    Readme.md as a documentation
  28. Урок 28. 00:00:34
    Congratulations