Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aquariuslt/jest-properties-loader
jest properties loader for `.properties` file
https://github.com/aquariuslt/jest-properties-loader
jest jest-plugin
Last synced: 24 days ago
JSON representation
jest properties loader for `.properties` file
- Host: GitHub
- URL: https://github.com/aquariuslt/jest-properties-loader
- Owner: aquariuslt
- License: mit
- Created: 2019-07-06T10:48:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-09-14T08:08:23.000Z (about 2 months ago)
- Last Synced: 2024-09-15T17:01:24.845Z (about 2 months ago)
- Topics: jest, jest-plugin
- Language: TypeScript
- Size: 1.44 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Jest Properties File Loader
[![NPM](https://img.shields.io/npm/v/jest-properties-loader.svg)](https://www.npmjs.com/package/jest-properties-loader)
[![Github Workflow Status](https://github.com/aquariuslt/jest-properties-loader/workflows/ci/badge.svg)](https://github.com/aquariuslt/jest-properties-loader)
[![Codecov](https://codecov.io/gh/aquariuslt/jest-properties-loader/branch/master/graph/badge.svg)](https://codecov.io/gh/aquariuslt/jest-properties-loader)> Provide a transform solution to load `.properties` file as json in jest test
## Usage
### Installation
```bash
yarn add -D jest-properties-loader
```### Setup
add to you jest configuration `transform` field
```
"transform": {
"^.+\\.properties?$": "jest-properties-loader"
}
```