-
-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fs.test.ts: Improve readbility, add types to fix TS problems (#1482)
* more readable const names instead of index number ([2] etc) * verify fs method name exists in Base.prototype (fixes type problem) * use Data type from ejs. Must include ejs package explicitly * use SinonStub type * ts-expect-error for spyOn type; comment re: why not use sinonStub for get config ? * types for op. results, paths; put op results into var so it can be typed as FSOpResult[] * add missing help: to new generator options * removed unneeded eslint disable
- Loading branch information
1 parent
8d95ae0
commit 3dd4c2d
Showing
4 changed files
with
137 additions
and
107 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.