wing
wing copied to clipboard
Snapshot mismatch when runing tests in the CI
I tried this:
Having a wing test with a function:
bring cloud;
let fn = new cloud.Function(inflight (event: str?) => {
});
test "test 1" {
assert(true);
}
and creating the snapshots
wing test -t tf-aws --snapshots=update
Snapshots change if the path of the project changes (when running tests on the CI for ex.).
This happened:
I expected this:
the snapshots not to change
Is there a workaround?
No response
Anything else?
No response
Wing Version
0.73.41
Node.js Version
No response
Platform(s)
No response
Community Notes
- Please vote by adding a 👍 reaction to the issue to help us prioritize.
- If you are interested to work on this issue, please leave a comment.