Skip to content

aquariuslt/jest-properties-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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"
}