Creating NPM Package with TypeScript
/
Testing Package’s Code
Testing Package’s Code
https://leanpub.com/creating-npm-package-with-typescript
1. Installing the Testing Tool
https://leanpub.com/creating-npm-package-with-typescript
2. Specifying Jest as Your Project’s Test Runner Tool
https://leanpub.com/creating-npm-package-with-typescript
3. Configuring Jest to Test TypeScript Code
https://leanpub.com/creating-npm-package-with-typescript
4. Configuring Jest to Compile TypeScript Files
https://leanpub.com/creating-npm-package-with-typescript
5. Setting Up Jest’s Testing Environment
https://leanpub.com/creating-npm-package-with-typescript
6. Creating Your Code Files
https://leanpub.com/creating-npm-package-with-typescript
7. Writing Your Test Case
https://leanpub.com/creating-npm-package-with-typescript
8. Developing the Package’s Code
https://leanpub.com/creating-npm-package-with-typescript
9. Running the Test
https://leanpub.com/creating-npm-package-with-typescript
Up next
Commit Message Configuration
In this chapter
Testing Package’s Code
1. Installing the Testing Tool
2. Specifying Jest as Your Project’s Test Runner Tool
3. Configuring Jest to Test TypeScript Code
4. Configuring Jest to Compile TypeScript Files
5. Setting Up Jest’s Testing Environment
6. Creating Your Code Files
7. Writing Your Test Case
8. Developing the Package’s Code
9. Running the Test