/jest-properties-loader

jest properties loader for `.properties` file

Primary LanguageTypeScriptMIT LicenseMIT

Jest Properties File Loader

NPM Github Workflow Status Codecov

Provide a transform solution to load .properties file as json in jest test

Usage

Installation

yarn add -D jest-properties-loader

Setup

add to you jest configuration transform field

"transform": {
  "^.+\\.properties?$": "jest-properties-loader"
}