You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
I do not think this is enough here (purge only one url) but for the record:
Chai HTTP depends on the methods module which defines the purge method. In tests, you can simply run:
await chai.request(host).purge(path);
which sends a PURGE request. Pretty useful to purge a page before running a test on it.
before starting the tests, it should probably be best to purge the cache for the entire test domain.
The text was updated successfully, but these errors were encountered: