You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 theyeoman-test
helper even finished writing files to disk.The
yeoman-assert
also ignores theprocess.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 theRunContext
.The text was updated successfully, but these errors were encountered: