Skip to content

Snapshot testing with insta #623

Answered by a-kenji
lcnbr asked this question in Q&A
May 24, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Does your derivation have access to the snapshot test files?
It could be that:

 src = craneLib.cleanCargoSource (craneLib.path ./.);

filters them out and you need to include them through a custom filter.

You could check that with cntr: https://github.com/Mic92/cntr and enter nix build sandbox.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ipetkov
Comment options

@lcnbr
Comment options

@lcnbr
Comment options

Answer selected by ipetkov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants