Skip to content

Commit

Permalink
chore(test): add timeout to older versions test (#438)
Browse files Browse the repository at this point in the history
  • Loading branch information
addaleax committed May 26, 2021
1 parent 485aa3c commit 53cf5c6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/bson_older_versions_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ function downloadZip(version, done) {
describe('Current version', function () {
OLD_VERSIONS.forEach(version => {
before(function (done) {
this.timeout(30000); // Downloading may take a few seconds.
if (Number(process.version.split('.')[0].substring(1)) < 8) {
// WHATWG fetch doesn't download correctly prior to node 8
// but we should be safe by testing on node 8 +
Expand Down

0 comments on commit 53cf5c6

Please sign in to comment.