From time to time, rollup takes time to copy files and they're not ready when tests starts.

See for instance above how it errors saying it does not find the file which has just been copied. Any idea of how to fix this? Maybe create some delay when the file is being processed, in the plugin file?