test: avoid joinUrlSegments, align with prev test

This commit is contained in:
patak-dev 2024-09-16 22:11:46 +02:00 committed by patak
parent 3192244ce0
commit 7d78ae7b53

View File

@ -169,12 +169,7 @@
})
// not imported before, outside of root, treated as unsafe
fetch(
joinUrlSegments(
base,
joinUrlSegments('/@fs/', ROOT) + '/unsafe.json?import&raw',
),
)
fetch('/@fs/' + ROOT + '/unsafe.json?import&raw')
.then((r) => {
text('.unsafe-fs-fetch-raw-status', r.status)
return r.json()