mirror of
https://git.sr.ht/~cadence/bibliogram
synced 2026-03-01 18:31:35 +00:00
Add screenshot tests for user, post, and gallery
This commit is contained in:
parent
f25b2891ac
commit
5baae5167d
4 changed files with 62 additions and 44 deletions
|
|
@ -60,7 +60,7 @@ class SavedRequestManager {
|
|||
const base = pj(folder, row.path)
|
||||
try {
|
||||
fs.accessSync(base)
|
||||
console.log("Found, using saved request for "+row.path)
|
||||
// console.log("Found, using saved request for "+row.path)
|
||||
return new Saved(base)
|
||||
} catch (e) {
|
||||
console.log("Known, but not downloaded for "+row.path)
|
||||
|
|
@ -85,7 +85,7 @@ class SavedRequestManager {
|
|||
}
|
||||
} else {
|
||||
const name = generateName()
|
||||
console.log("Not found, saving now as "+name)
|
||||
console.log(`Not found, saving now:\n ${this.url}\n -> ${name}`)
|
||||
|
||||
const internalRequest = new NodeFetch(this.url)
|
||||
return new DelayedBackend(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue