Skip to content

Unit Tests don't work correctly #2

@CharacterOverflow

Description

@CharacterOverflow

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions