Skip to content

Commit

Permalink
test2 express-pouchdb
Browse files Browse the repository at this point in the history
  • Loading branch information
alxndrsn committed Mar 27, 2024
1 parent 223de35 commit 2e7bf02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/test.attachments.js
Original file line number Diff line number Diff line change
Expand Up @@ -2125,7 +2125,7 @@ adapters.forEach(function (adapter) {
testUtils.getServerType(serverType => {
if (serverType === 'couchdb') {
should.not.exist(doc._attachments);
} else if (serverType === 'pouchdb-express-router') {
} else if (serverType === 'pouchdb-express-router' || serverType === 'express-pouchdb') {
doc._attachments['foo.txt'].content_type.should.equal('text/plain');
JSON.parse(decodeBase64(doc._attachments['foo.txt'].data)).should.deep.equal({
error: 'not_found',
Expand Down

0 comments on commit 2e7bf02

Please sign in to comment.