Skip to content
This repository was archived by the owner on Aug 26, 2021. It is now read-only.
This repository was archived by the owner on Aug 26, 2021. It is now read-only.

Windows - Incompatible fixture paths #96

Description

@azerella

When running the end-to-end test suite the builds will fail on Windows with a fixture like:

"[path]/tests/test11/node_modules/@gov.au/testmodule1"

will be replaced with something like:

"C:\Users\Bob\.../tests/test11/node_modules/@gov.au/testmodule1"

This particular issue is isolated to the pancake-json and pancake-sass modules.

With pancake-json I would start here:

WriteFile( jsonPath, JSON.stringify( JSONOutput ) ) //write the generated content to file and return its promise
unfortunatly JSON.stringify() is bad at handling strings with escape \ characters so C:\Users\Bob\ becomes C:UsersBob regardless of what replacer function is used.

With pancake-sass I would start here:

WriteFile( location, sass ) //write file

Metadata

Metadata

Assignees

No one assigned

    Labels

    🐛 bugSomething isn't working the way it should.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions