docs: Add Identifiers and Jest Sections to the README.md file

This commit is contained in:
2024-08-22 23:11:42 +02:00
committed by Max P.
parent e6e304dfc7
commit e0542214c0

View File

@@ -6,8 +6,14 @@
## Configuration
### Identifiers
Strings and symbols are possible for the **identifiers**.
### Jest
For the use of TSinjex with Jest, the corresponding source files can be found under `./src` of the TSinjex node_module folder. To use these files, the `moduleNameMapper` must be configured in the Jest configuration file. The following example shows how to configure the Jest configuration file to use the source files of TSinjex.
#### Example jest setup
```ts