Skip to content
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

test: move CoreSyncState tests to node:test #648

Merged
merged 2 commits into from
May 16, 2024
Merged

Conversation

EvanHahn
Copy link
Contributor

This test-only change drops Brittle from our CoreSyncState tests and
replaces them with node:test and node:assert.

This test-only change drops Brittle from our CoreSyncState tests and
replaces them with `node:test` and `node:assert`.
}
})

// This takes several hours to run on my M2 Macbook Pro (it's the slowBitCount
// that takes a long time - bitCount32 takes about 23 seconds), so not running
// this by default. The test did pass when I ran it though.
test.skip('bitCount32 (full test)', (t) => {
test('bitCount32 (full test)', { skip: true }, () => {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is using the opt instead of test.skip a preference? I have no strong preference, just wanted to make sure I'm not missing some subtle difference

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They're no different according to the docs. Not sure why I changed it. Reverted it in 0e34b32.

No different, just reduces the size of the diff.
@EvanHahn EvanHahn merged commit f24e341 into main May 16, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants