wing icon indicating copy to clipboard operation
wing copied to clipboard

Snapshot mismatch when runing tests in the CI

Open polamoros opened this issue 9 months ago • 0 comments

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:

image

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.

polamoros avatar May 14 '24 09:05 polamoros