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

@glen/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

@glen/jest-raw-loader

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

  • 2.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
9.6K
increased by2.94%
Maintainers
1
Weekly downloads
 
Created
Source

jest-raw-loader

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

Install

$ npm install --save-dev @glen/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$": "@glen/jest-raw-loader",
    "\\.md$": "@glen/jest-raw-loader"
  }
}

This is for jest >= 28, if you are using older version use jest-raw-loader package:

License

Copyright 2017-2020 Kepler Sticka-Jones. Licensed MIT.

FAQs

Package last updated on 23 Nov 2022

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