Wondering what’s next for npm?Check out our public roadmap! »

    @mockyeah/test-server-jest

    1.0.3 • Public • Published

    @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.

    Install

    npm i @mockyeah/test-server-jest

    DownloadsWeekly Downloads

    23

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    3.63 kB

    Total Files

    4

    Last publish

    Collaborators

    • avatar
    • avatar