New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

edge-jest

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

edge-jest

Centralized Jest configuration for Edge-based projects.

latest
npmnpm
Version
0.2.1-alpha.6
Version published
Maintainers
1
Created
Source

Centralized Jest Configuration

Features

  • Supports CSS Modules using identity-obj-proxy.
  • Mocks all asset file requirements for e.g. images, fonts, ...
  • Includes a mock for the native fetch() method.
  • Polyfills requestAnimationFrame() which is required by React v16.

Excludes for Coverage

  • Excludes typical Edge Platform based application glue code files e.g. Application.js and State.js.
  • Excludes Webpack and Prepublish entry points.
  • Excludes Storybook stories following the .story.js naming convention.
  • Excludes Jest tests following the .test.js naming convention.

Usage

Install via NPM:

npm install --save-dev edge-jest

Add your local Jest config as a jest.config.js file - Config inside your package.json is not supported!

/* eslint-disable */
const config = require("edge-jest")

// Modify/Extend the config object here

module.exports = config

Jest is automatically looking up the configuration file. No need for passing any further information.

License

Apache License Version 2.0, January 2004

Sebastian Software GmbH Logo

Copyright 2017-2018
Sebastian Software GmbH

FAQs

Package last updated on 09 Jun 2018

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