Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks
bladyjoker opened this issue Jun 10, 2022 · 0 comments · May be fixed by #35
Open
2 tasks

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

bladyjoker opened this issue Jun 10, 2022 · 0 comments · May be fixed by #35

Comments

@bladyjoker
Copy link

bladyjoker commented Jun 10, 2022

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?
@bladyjoker bladyjoker linked a pull request Jun 22, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant