You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One easy way to reproduce it is by using test.only on that test. That means, replacing test(`build an sdk for the 'modularized' example, with standard cache by test.only(`build an sdk for the 'modularized' example, with standard cache.
It looks like we get one output from Fauna's expanded schema if we run our test in isolation, and a different output if we run it right after other tests.
This might be caused by how we are resetting the data in between tests.
The text was updated successfully, but these errors were encountered:
zvictor
changed the title
Tests fail because results are out of order
Tests fail because result data is sometimes ordered differently
Jun 23, 2022
Tests can fail sometimes simply because the values coming from Fauna can be in a different order than the expected ones.
This happens mostly at:
https://github.com/zvictor/faugra/blob/a2ccb47f293af5f502a464e84423504ff3a263de/tests/specs/build-sdk.js#L193-L197
One easy way to reproduce it is by using test.only on that test. That means, replacing
test(`build an sdk for the 'modularized' example, with standard cache
bytest.only(`build an sdk for the 'modularized' example, with standard cache
.It looks like we get one output from Fauna's expanded schema if we run our test in isolation, and a different output if we run it right after other tests.
This might be caused by how we are resetting the data in between tests.
The text was updated successfully, but these errors were encountered: