Skip to content

Make 'resource' files available to purescript-lib.nix tests #29

@bladyjoker

Description

@bladyjoker

Sometimes the files needed to run the tests are not available to the Nix closure puresscript-lib.nix tests currently run with.

cardax-dex-browser-lib-test-with-node> Error: Cannot find module '../../resources/cardax-dex.json'

How do we deal with this?

  • Add resourceDirs parameters and adding this to the Nix closure?
  • Actually bundling the whole thing with webpack and running the test on the bundle?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions