This repository was archived by the owner on May 10, 2021. It is now read-only.
Commit 5ffce26
committed
Merge branch 'fix-cypress-local-cache-control' into main (#118)
This fixes a failing test when running npm run cypress:local.
The failing test is testing the cache control header of a pre-rendered,
static page and expecting the headers to include "public". This is the
case on netlify.app. However, in netlify dev this cache control header
is not present, causing the test to fail.
For now, we simply skip the test when running the Cypress tests locally
(as we do in default_spec.js). In the long term, we should probably set
headers in a _headers file as suggested by #110.1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
104 | 104 | | |
105 | 105 | | |
106 | 106 | | |
107 | | - | |
108 | | - | |
109 | | - | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
110 | 112 | | |
111 | 113 | | |
112 | 114 | | |
| |||
0 commit comments