Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thdk/ts-jest-project-references
https://github.com/thdk/ts-jest-project-references
Last synced: about 18 hours ago
JSON representation
- Host: GitHub
- URL: https://github.com/thdk/ts-jest-project-references
- Owner: thdk
- Created: 2020-04-16T12:20:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-01-06T03:33:38.000Z (almost 2 years ago)
- Last Synced: 2023-07-02T16:40:32.086Z (over 1 year ago)
- Language: TypeScript
- Size: 553 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup jest for typescript project references using ts-jest
Minimal repository to reproduce issue with ts-jest when using typescript project references.
### Install
Run `npm install` in both *shared* and *project* folder.
```
cd shared
npm install
cd ../project
npm install
```### Project setup
#### Folders:
* **project**: the main typescript project, runs unit test with jest and ts-jest
* **shared**: a libary with some helper functions that can be used in unit tests#### Branches:
* **master**: seems to work
* **project-with-out-dir**: doesn't work, only added `"outDir": "./dist"` to tsconfig.json of project