Refactor the JS script file loading code so that it's tied to the `fs.FS` interface for longer, and less to the specifics of our `embed.FS` instance. This should make it possible to use other filesystems, like a real on-disk one, to load scripts.
311 B
311 B
These scripts are used for some (but far from all) unit tests.
It's mostly a place where we can add some extra files for the tests (like this
README.md and empty.js) that should be ignored by the job compiler, without
them getting embedded into the flamenco-manager executable file in production
builds.