Need private packages and team management tools?Check out npm Teams »

jest-raw-loader

1.0.1 • Public • Published

jest-raw-loader

npm Build Status Code Coverage Code Style: prettier

Jest transformer mimicking webpack-contrib/raw-loader's functionality

Install

$ npm install --save-dev jest-raw-loader

Usage

Use jest's transform configuration options to use this package in your unit tests.

For example use the following to raw load .md and .graphql files:

"jest"{
  "transform": {
    "\\.graphql$": "jest-raw-loader",
    "\\.md$": "jest-raw-loader"
  }
}

License

MIT © Kepler Sticka-Jones

Keywords

none

Install

npm i jest-raw-loader

DownloadsWeekly Downloads

37,412

Version

1.0.1

License

MIT

Last publish

Collaborators

  • avatar