react-native-macos/scripts/codegen
Riccardo Cipolleschi 9596bf045d Fix tests for Windows (#33893)
Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/33893

The previous diff was breaking the external CI tests on Windows because of the file separators.

The fix was to use UNIX separator but to apply `path.normalize` to make sure that the path is platform agnostic.

## Changelog
[General][Fixed] - Make tests pass for windows

Reviewed By: cortinico

Differential Revision: D36597593

fbshipit-source-id: 47731f34a08c778268a6cc9674257403985d4599
2022-05-24 01:41:08 -07:00
..
__test_fixtures__ Align Codegen between iOS and Android (#33864) 2022-05-19 05:52:40 -07:00
__tests__ Fix tests for Windows (#33893) 2022-05-24 01:41:08 -07:00
codegen-utils.js Update CodeGen to leverage the `outputDir` as suggested in diff review (#33729) 2022-05-04 04:04:10 -07:00
generate-artifacts-executor.js Cleanup Folders after codegen (#33891) 2022-05-23 08:27:44 -07:00
generate-specs-cli-executor.js Update CodeGen to leverage the `outputDir` as suggested in diff review (#33729) 2022-05-04 04:04:10 -07:00