-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Move sync-server to vitest #4840
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
const swap = (a, b) => { | ||
const swap = normalizeTransactions[a]; | ||
normalizeTransactions[a] = normalizeTransactions[b]; | ||
normalizeTransactions[b] = swap; | ||
}; | ||
swap(1, 4); | ||
swap(3, 6); | ||
swap(0, 7); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how this test was passing before, as all these indices are out of range. Changed them to in-range
This comment was marked as resolved.
This comment was marked as resolved.
63f4fb2
to
bb8d399
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sweet
df3de95
to
17efaec
Compare
As it says on the tin. I know we got stuck in the previous attempt in #4212, but I'd really like to pick this up again and try to make incremental progress if that's at all possible. The biggest repository change since last time is the sync-server migration, so I'm hoping to knock it out first.