Skip to content

Commit

Permalink
add frontiers tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vict0rsch committed Jun 16, 2022
1 parent 7fcd10b commit 632eca7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/data/urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,13 @@
"venue": "cvpr"
}
],
"frontiers": [
"https://www.frontiersin.org/articles/10.3389/fpace.2022.892330/full",
"https://www.frontiersin.org/articles/10.3389/fpace.2022.892330/pdf",
{
"noPdf": true
}
],
"ijcai": [
"https://www.ijcai.org/proceedings/2020/1",
"https://www.ijcai.org/proceedings/2020/0001.pdf",
Expand Down
6 changes: 6 additions & 0 deletions test/test-storage.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,12 @@ describe("Test paper detection and storage", function () {
`prevents automated browsing`
);
delete urls[source];
} else if (targets.length === 3 && targets[2].noPdf) {
console.log(
`\n>>> Skipping test for ${source} because its ` +
`pdf page does not exist`
);
delete urls[source];
}
}

Expand Down

0 comments on commit 632eca7

Please sign in to comment.