Closed ahmedatia closed 4 years ago
Hello, thank you for the PR! Can you please fix the failing unit test?
Thanks @zHaytam ... Yep! I noticed this only after I submitted PR as I was only running tests related to this change, my bad!
If I'm not mistaken it is related to the shared state between tests. I'll have a more detailed look and address it accordingly.
Hello @zHaytam ... all good to go! It is worth mentioning that I moved the test case I created for this change to a separate class to ensure having a self-contained context for unit tests when default RazorPagesRootDirectory is modified.
Thank you @ahmedatia ! I will update NuGet today.
Version 3.4 is online!
In reference to issue #56 , one use case that results to changing the default razor pages root directory if a project is utilizing FeatureFolders and then the razor pages root directory is also changed to use Features folder.
Now we can set which root directory SmartBreadcrumbs is used through BreadcrumbOptions