zaydek / retro-legacy

[WIP] Your friendly neighborhood React static-site generator
MIT License
2 stars 0 forks source link

[Todo] Unit tests for guards #7

Closed zaydek closed 3 years ago

zaydek commented 3 years ago

Not yet documented.

Notes to self: fs.existsSync should probably be replaced with functions that test for the presence of a folder, not files. Similarly, fs.existsSync("cache/props.generated.json") should test for the presence of a file, not a folder (maybe we add existsFolder and existsFile helpers to utils.