mirror of
https://github.com/morluto/rea.git
synced 2026-11-07 07:16:13 +00:00
* feat(javascript): compare static endpoints with HAR captures * test(javascript): preserve original HAR fixture bytes during formatting * test(javascript): load the byte-preserved HAR fixture
7 lines
477 B
Plaintext
7 lines
477 B
Plaintext
|
|
function unusedAdmin() { return fetch('/api/admin/export'); }
|
|
function templateCandidate() { return fetch('/users/789'); }
|
|
function neverContacted() { return fetch('https://never-contact.invalid/route'); }
|
|
function translatedValue() { return translate.get('KEY'); }
|
|
Promise.all([fetch('/api/users?ordinary=kept-source-only#fragment'), fetch('/users/123'), fetch(window.dynamicTarget)].map(request => request.then(response => response.text()))).then(() => window.done = true);
|