Skip to content

Commit

Permalink
Fix mock context again
Browse files Browse the repository at this point in the history
  • Loading branch information
parsons90 committed Feb 14, 2024
1 parent 2f26b8c commit ebe15b8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions azure/test/blobs_logs_monitoring.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ function fakeContext() {
contextSpy.log = sinon.spy();
contextSpy.log.error = function(x) {}; // do nothing
contextSpy.log.warn = function(x) {}; // do nothing

contextSpy.bindingData = sinon.spy();
contextSpy.bindingData.blobTrigger = "test/file.log"

return contextSpy;
Expand Down

0 comments on commit ebe15b8

Please sign in to comment.