How to use the @times-components/utils.delay function in @times-components/utils

To help you get started, we’ve selected a few @times-components/utils 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 newsuk / times-components / packages / author-profile / __tests__ / author-profile.js View on Github external
test: async () => {
        const testInstance = TestRenderer.create(
          
            
          
        );

        await delay(1500);

        expect(testInstance).toMatchSnapshot();
      }
    },
github newsuk / times-components / packages / topic / __tests__ / topic-functional.js View on Github external
test: async () => {
        const testInstance = TestRenderer.create(
          
            
          
        );

        await delay(1500);

        expect(testInstance).toMatchSnapshot();
      }
    },