Utilities to easily stub Koa context and cookies


License
MIT
Install
npm install @shopify/jest-koa-mocks@2.0.7

Documentation

quilt

License: MIT Build Status codecov Greenkeeper badge lerna

A loosely related set of packages for JavaScript / TypeScript projects at Shopify.

These libraries compose together to help you create performant modern JS apps that you love to develop and test. These packages are developed primarily to be used on top of the stack we like best for our JS apps; Typescript for the flavor, Koa for the server, React for UI, Apollo for data fetching, and Jest for tests. That said, you can mix and match as you like.

Usage

The Quilt repo is managed as a monorepo that is composed of many npm packages. Each package has its own README and documentation describing usage.

Package Index

package
address directory npm version
address-mocks directory npm version
admin-graphql-api-utilities directory npm version
async directory npm version
csrf-token-fetcher directory npm version
css-utilities directory npm version
dates directory npm version
decorators directory npm version
enzyme-utilities directory npm version
function-enhancers directory npm version
graphql-persisted directory npm version
graphql-testing directory npm version
i18n directory npm version
jest-dom-mocks directory npm version
jest-koa-mocks directory npm version
jest-mock-apollo directory npm version
jest-mock-router directory npm version
koa-liveness-ping directory npm version
koa-metrics directory npm version
koa-shopify-auth directory npm version
koa-shopify-graphql-proxy directory npm version
koa-shopify-webhooks directory npm version
logger directory npm version
network directory npm version
performance directory npm version
polyfills directory npm version
predicates directory npm version
react-async directory npm version
react-compose directory npm version
react-effect directory npm version
react-effect-apollo directory npm version
react-form directory npm version
react-form-state directory npm version
react-google-analytics directory npm version
react-graphql directory npm version
react-hooks directory npm version
react-html directory npm version
react-hydrate directory npm version
react-i18n directory npm version
react-import-remote directory npm version
react-intersection-observer directory npm version
react-network directory npm version
react-preconnect directory npm version
react-serialize directory npm version
react-shopify-app-route-propagator directory npm version
react-shortcuts directory npm version
react-testing directory npm version
react-tracking-pixel directory npm version
sewing-kit-koa directory npm version
useful-types directory npm version
with-env directory npm version

Want to contribute?

Check out our Contributing Guide

Questions?

For Shopifolk, you can reach out to us in Slack on the #quilt and #web-foundation-tech channels. For external inquiries, we welcome bug reports, enhancements, and feature requests via Github issues.

License

MIT © Shopify, see LICENSE.md for details.

Shopify