Skip to content

Commit c0ef768

Browse files
author
alxndrsn
committed
Add alternative error msg
1 parent fe56cf6 commit c0ef768

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/integration/test.replication.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4265,7 +4265,7 @@ describe('suite2 test.replication.js-down-test', function () {
42654265
});
42664266
const target = new PouchDB(dbs.name);
42674267
await source.replicate.to(target).should.be
4268-
.rejectedWith(/(^(Failed to fetch|NetworkError when attempting to fetch resource\.)$)|ECONNREFUSED/);
4268+
.rejectedWith(/(^(Failed to fetch|NetworkError when attempting to fetch resource\.)$)|ECONNREFUSED|EHOSTUNREACH/);
42694269
});
42704270
});
42714271

0 commit comments

Comments
 (0)