Socket
Socket
Sign inDemoInstall

@mockyeah/test-server-jest

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@mockyeah/test-server-jest

Jest unit test setup for mockyeah server request mocking utility.


Version published
Maintainers
2
Created
Source

@mockyeah/test-server-jest

Jest unit test setup for mockyeah server, a powerful service mocking, recording, and playback utility.

npm

More at https://mockyeah.js.org/Packages/mockyeah-test-jest.

All you need to do is:

import mockyeah from '@mockyeah/test-server-jest';

describe('test', () => {
  it('should work', () =>
    mockyeah
      .get('/')
      .expect()
      .once()
      .run(fetch(mockyeah.server.url))
      .verify());
});

License

@mockyeah/test-server-jest is released under the MIT License.

Keywords

FAQs

Package last updated on 16 Aug 2020

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