-
-
Notifications
You must be signed in to change notification settings - Fork 164
Open
Labels
Description
Tests will fail on Windows platform because they are not using the in-memory filesystem, but are writing files to temporary directory unique for the running test context.
The writes are not synced so the assertions in it() will execute before the yeoman-test helper even finished writing files to disk.
The yeoman-assert also ignores the process.cwd() which points to the unique test context folder with generated files and reads files from the repository root. This causes tests which are asserting file content to fail.
This can be fixed by upgrading the yeoman-test to newer version which includes the assertion running in the RunContext.