diff options
| author | Armand Philippot <git@armandphilippot.com> | 2023-12-14 18:55:21 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2023-12-14 18:55:21 +0100 |
| commit | 4e4d2eb25365be861e19f9756cf334ba2faa6911 (patch) | |
| tree | 794e85013799ceb1ae85710692b6c226ed18714c /next.config.js | |
| parent | 7063b199b4748a9c354ed37e64cdc84c512f2c0c (diff) | |
test(e2e): fix broken Cypress tests
Since #93db24b MSW is used in Cypress tests to intercept requests. Some
tests relied on WordPress data so it becames broken. Tests are now
successful but there are still some issues with hydration because all
GraphQL requests are not intercepted and data are mixed between
WordPress and fixtures.
Diffstat (limited to 'next.config.js')
| -rw-r--r-- | next.config.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/next.config.js b/next.config.js index 5bd458d..02aa847 100644 --- a/next.config.js +++ b/next.config.js @@ -107,6 +107,10 @@ const nextConfig = { protocol: 'https', hostname: 'cloudflare-ipfs.com', }, + { + protocol: 'https', + hostname: 'picsum.photos', + }, ], }, output: 'standalone', @@ -190,4 +194,4 @@ const withMDX = nextMDX({ export default withBundleAnalyzer(withMDX(nextConfig)); -// cSpell:ignore ipfs +// cSpell:ignore ipfs picsum |
