UNPKG

jest-esnext

Version:

Jest ES.Next configuration by Harald Rudell

33 lines (22 loc) 945 B
<h1>jest-esnext</h1> Use Jest with **ES.Next** ECMAScript: big bubbles no troubles ## © 2018-present Harald Rudell <harald.rudell@gmail.com> (http://www.haraldrudell.com) <h2>Benefits</h2> <ul> <li>Get Jest ES.Next-ified in a single package</li> </ul> <h2>Usage</h2> <ol> <li><strong>yarn add --dev jest-esnext jest</strong></li> <li>create file next to package.json named <strong>jest.config.js</strong><ul> <li>content: <strong>module.exports = require('jest-esnext')</strong></li> </ul></li> <li><strong>yarn jest</strong><br /> Your tests written in ECMAScript ES.Next work<br /> No mysterious errors or unnreliable transpile like babel-jest 23.6.0</li> </ol> &emsp; ## link: [Hire Harald Rudell](https://hire.surge.sh/) ## link: [Sponsor Harald Rudell](https://www.gofundme.com/san-francisco-revenge-crime-victim/) &emsp; ## © 2018-present Harald Rudell <harald.rudell@gmail.com> (http://www.haraldrudell.com)