Skip to content

Commit

Permalink
chore(#8622): update sinon and rewire (#8638)
Browse files Browse the repository at this point in the history
  • Loading branch information
dianabarsan committed Oct 17, 2023
1 parent af95907 commit 207bfa6
Show file tree
Hide file tree
Showing 17 changed files with 190 additions and 546 deletions.
2 changes: 1 addition & 1 deletion api/tests/mocha/services/setup/utils.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ describe('Setup utils', () => {
await utils.getDdocDefinitions();
expect.fail('Should have thrown');
} catch (err) {
expect(err.message).to.match(/Unexpected token d in JSON at position 0/);
expect(err.message).to.match(/Unexpected token/);
expect(db.builds.get.callCount).to.equal(0);
expect(fs.promises.readFile.args).to.deep.equal([
['localDdocs/medic.json', 'utf-8'],
Expand Down

0 comments on commit 207bfa6

Please sign in to comment.