How to use the mwp-test-utils/lib/mocks.getCsrfHeaders function in mwp-test-utils

To help you get started, we’ve selected a few mwp-test-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 meetup / meetup-web-platform / tests / integration / api.int.js View on Github external
const csrfHeaders = () =>
			getCsrfHeaders().then(([cookieToken, headerToken]) => [cookieToken, '']);

mwp-test-utils

Helpers for running unit tests in MWP apps

MIT
Latest version published 2 years ago

Package Health Score

39 / 100
Full package analysis

Similar packages