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

Fix values in supported being duplicated #108

Merged
merged 10 commits into from
Jul 27, 2023
Merged

Conversation

Half-Shot
Copy link

Pretty straightforward bug. I've added testing to ensure we catch it.

@Half-Shot Half-Shot force-pushed the hs/fix-isupport-duplication branch from 9314786 to 20e6c25 Compare July 27, 2023 16:29
@Half-Shot Half-Shot force-pushed the hs/fix-isupport-duplication branch from 7d92656 to 2121d29 Compare July 27, 2023 16:37
@@ -13,97 +14,123 @@ describe('Client', () => {
describe('joining channels', () => {
test('will get a join event from a newly joined user', async () => {
const { speaker, listener } = server.clients;
const expectedChannel = TestIrcServer.generateUniqueChannel('foobar');
Copy link
Author

Choose a reason for hiding this comment

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

We were previously just using this channel for all tests, which broke when things happened concurrently.

src/testing/index.ts Outdated Show resolved Hide resolved
Copy link
Member

@AndrewFerr AndrewFerr left a comment

Choose a reason for hiding this comment

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

LGTM, with one optional request

@Half-Shot Half-Shot merged commit 2a1b023 into master Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants