-
-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature/increase test coverage (#204)
* Remove unreachable code * Test invalid handler and callback for legacy multipart * Make id generation for saveRequestFiles injectable By injecting toID as a parameter we make it possible to test errors caused by file access errors. * Use unlink instead of rm to support Node 10 and 12 * Fix test scenario message - use node-tap's testdir as a replacement for os.tmpdir - inject tmpdir in saveRequestFiles - do not inject toID in saveRequestFiles * Skip cleanup tests on Windows
- Loading branch information
Showing
4 changed files
with
185 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters