UNPKG

@graphql-mocks/network-playwright

Version:

Mock using graphql-mocks with Playwright

15 lines (11 loc) 730 B
# `@graphql-mocks/network-playwright` This package provides a [Network Handler](http://www.graphql-mocks.com/docs/network/introducing-network-handlers) in the form of a Playwright route handler to integrate GraphQL Mocks with [Playwright](https://playwright.dev/). This method allows for full GraphQL Mocking in Playwright tests. --- - [GraphQL Mocks](http://www.graphql-mocks.com) - [API Documentation](http://www.graphql-mocks.com/api/network-playwright) - [`@graphql-mocks/network-playwright` documentation](http://www.graphql-mocks.com/docs/network/playwright) - References - [Introducing Network Handlers](http://www.graphql-mocks.com/docs/network/introducing-network-handlers) - [Playwright](https://playwright.dev/)