Add chromatic testing (#170)

This commit is contained in:
Charles Bochet
2023-06-01 11:20:05 +02:00
committed by GitHub
parent e8f1146ae1
commit 51790d8484
6 changed files with 2403 additions and 11 deletions

View File

@ -1,13 +1,5 @@
module.exports = {
schema: [
{
'http://localhost:3000/graphql': {
headers: {
'x-hasura-admin-secret': process.env.HASURA_GRAPHQL_ADMIN_SECRET,
},
},
},
],
schema: process.env.REACT_APP_API_URL,
documents: ['./src/**/*.tsx', './src/**/*.ts'],
overwrite: true,
generates: {