/jest-preset-loopback

Jest support for Loopback 3.x

Primary LanguageJavaScript

jest-preset-loopback

npm npm npm

Jest preset for Loopback 3.x.

Getting Started

Install jest-preset-loopback using yarn:

yarn add --dev jest-preset-loopback

Usage

In your package.json, add:

"jest": {
  "preset": "jest-preset-loopback"
}

Or, in a new file at the root of your project called jest.config.js:

module.exports = {
  preset: 'jest-preset-loopback',
};

Contributing

If you have any ideas on how this module could be better, create an Issue or submit a PR.