Skip to content

Conversation

@Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Jul 26, 2025

📚 Description

Related: #447

🔖 Changes

  • Updated snapshot path handling so that both snapshot assertion functions work correctly when tests are run using absolute paths. The directory path is now derived without a prefixed “./”
  • Add better support for NixOS
    • And a dedicated GH Workflow for NixOS

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix

Updated snapshot path handling so that both snapshot assertion functions work correctly when tests are run using absolute paths. The directory path is now derived without a prefixed “./”
@Chemaclass Chemaclass self-assigned this Jul 26, 2025
@Chemaclass Chemaclass added the bug Something isn't working label Jul 26, 2025
@Chemaclass Chemaclass force-pushed the fix/447-assert-snapshot branch from 7fd1d15 to 9cc65bf Compare July 26, 2025 12:20
@Chemaclass Chemaclass enabled auto-merge July 26, 2025 12:35
@Chemaclass Chemaclass disabled auto-merge July 26, 2025 12:59
@Chemaclass Chemaclass merged commit e068096 into main Jul 26, 2025
19 checks passed
@Chemaclass Chemaclass deleted the fix/447-assert-snapshot branch July 26, 2025 12:59
@drupol
Copy link
Contributor

drupol commented Jul 26, 2025

The issue in Nix is fixed ! https://gist.github.com/drupol/3723f5a4ba4d53f460ee72b793ba0727

@drupol
Copy link
Contributor

drupol commented Jul 26, 2025

However, the new CI workflow is useless, sadly... it's a bit of a waste of resources too to keep it there.

@Chemaclass
Copy link
Member Author

Chemaclass commented Jul 26, 2025

@drupol do you mean this one? https://github.com/TypedDevs/bashunit/pull/452/files#diff-1db27d93186e46d3b441ece35801b244db8ee144ff1405ca27a163bfe878957fR122

I was thinking how could we make sure to avoid problems for NixOS future. But if you say it is using ubuntu and it is not needed, then we can remove it, no problemo:

PR #454

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants