Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork301
Commit3dd4c2d
authored
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 disable1 parent8d95ae0 commit3dd4c2d
File tree
4 files changed
+137
-107
lines changed- src/actions
- test
4 files changed
+137
-107
lines changedSome generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
| 84 | + | |
83 | 85 | | |
84 | 86 | | |
85 | 87 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
0 commit comments
Comments
(0)