How to use @rest-hooks/test - 1 common examples

To help you get started, we’ve selected a few @rest-hooks/test examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github coinbase / rest-hooks / packages / legacy / src / __tests__ / useStatefulResource.tsx View on Github external
beforeEach(() => {
    renderRestHook = makeRenderRestHook(makeCacheProvider);
  });

@rest-hooks/test

Testing utilities for Rest Hooks

Apache-2.0
Latest version published 2 years ago

Package Health Score

64 / 100
Full package analysis

Popular @rest-hooks/test functions