-
Notifications
You must be signed in to change notification settings - Fork 792
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(snc): remove in-memory-fs.spec snc violations (#4401)
this commit removes the `strictNullChecks` violations found in `in-memory-fs.spec.ts`. there are two types of changes found within this file: 1. `fsItem`, a helper function in the suite, has been updated to set it's default values to `undefined` to adhere to `Partial<FsItem>`, fixing assignability issues with setting each field to null 2. retrieval of entries from the `items` map use optional chaining. this was deemed safe as we are not asserting against `undefined` in any of the `get` calls in said tests
- Loading branch information
1 parent
21199d6
commit 0673f72
Showing
1 changed file
with
35 additions
and
35 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