Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

jest-raw-loader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jest-raw-loader

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

  • 1.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
91K
increased by3.67%
Maintainers
1
Weekly downloads
 
Created
Source

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$": "<rootDir>/node_modules/jest-raw-loader/index.js",
    "\\.md$": "<rootDir>/node_modules/jest-raw-loader/index.js"
  }
}

License

MIT © Kepler Sticka-Jones

FAQs

Package last updated on 31 Oct 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc