Skip to content

Tests fail on Windows platform #297

@jozefizso

Description

@jozefizso

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions