Noticed that during unit tests, the initialization function is trying to copy files to Projects/factory/scenario instead of Projects/factorio-analytics/factory/scenario.
I understand that it's likely something to do with how I'm building the paths with __dirname and relative operators like ../, but I am unsure if there's a better way to do this.
I also need to look into learning Jest better, so I can make actual unit tests instead of just 1 generic test for 'is it working'
Noticed that during unit tests, the initialization function is trying to copy files to Projects/factory/scenario instead of Projects/factorio-analytics/factory/scenario.
I understand that it's likely something to do with how I'm building the paths with __dirname and relative operators like ../, but I am unsure if there's a better way to do this.
I also need to look into learning Jest better, so I can make actual unit tests instead of just 1 generic test for 'is it working'