Skip to content

Commit

Permalink
Add tests using nock for mocking the API
Browse files Browse the repository at this point in the history
  • Loading branch information
alexwhitman committed Feb 4, 2022
1 parent 45a657f commit f68187d
Show file tree
Hide file tree
Showing 9 changed files with 1,934 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/internal/pushes.js
Expand Up @@ -83,7 +83,7 @@ PushBullet.prototype.file = async function file(deviceParams, filePath, body) {
file_name: fileName,
file_type: fileType,
file_url: uploadRequestResponseJson.file_url,
body
body: body
});
};

Expand Down

0 comments on commit f68187d

Please sign in to comment.