Skip to content

Websocket Support#77

Open
aidenscott2016 wants to merge 15 commits into
grug:masterfrom
aidenscott2016:websocket
Open

Websocket Support#77
aidenscott2016 wants to merge 15 commits into
grug:masterfrom
aidenscott2016:websocket

Conversation

@aidenscott2016

@aidenscott2016 aidenscott2016 commented Sep 14, 2021

Copy link
Copy Markdown

We have had a need to mock a WS server at OVO using this library. This work implements that.

See tests for usage

Comment thread package.json Outdated
@grug

grug commented Sep 14, 2021

Copy link
Copy Markdown
Owner

This looks pretty solid. I'll give this a run when I'm at my desktop tomorrow. I really appreciate contributions like this out of the blue!

@grug

grug commented Sep 15, 2021

Copy link
Copy Markdown
Owner

Aiden I need to see a dank meme before I can approve this work.

Comment thread tsconfig.json Outdated
"noUnusedLocals": true /* Report errors on unused locals. */,
"noUnusedParameters": true /* Report errors on unused parameters. */,
"noUnusedLocals": false /* Report errors on unused locals. */,
"noUnusedParameters": false /* Report errors on unused parameters. */,

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

change me

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

change comes from within, brother 😌

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Inshallah

Comment thread README.md Outdated

# modified by aiden for websocket support.
# will hopefully be deleted soon when merged in to upstream

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

do this

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

also write usage

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can you fix this up?

Comment thread src/mocks.test.ts Outdated
Comment thread src/mocks.ts Outdated
Comment thread src/mocks.ts
Comment thread src/mocks.ts
@aidenscott2016

aidenscott2016 commented Sep 15, 2021

Copy link
Copy Markdown
Author

@grug

This looks pretty solid. I'll give this a run when I'm at my desktop tomorrow. I really appreciate contributions like this out of the blue!

You're welcome. We needed to mock websockets any way and it didn't make sense two sets of mocking infra

Aiden I need to see a dank meme before I can approve this work.

It will take a long time to find a suitably dank meme for a PR of this calibre. Now I can see there is an appetite to upstream this I will more than likely clean this up on my next 10pc day next friday

@aidenscott2016

Copy link
Copy Markdown
Author

@HamishDixon morley has aske me to remind you that you are a flim-flam

@grug

grug commented Sep 15, 2021

Copy link
Copy Markdown
Owner

@aidenscott2016 please remind Morley that I am his dad.

@aidenscott2016 aidenscott2016 marked this pull request as ready for review September 24, 2021 12:36
@aidenscott2016

Copy link
Copy Markdown
Author

@grug this is ready for merge

@aidenscott2016 aidenscott2016 changed the title Draft PR to support websockets Websocket Support Sep 24, 2021
Comment thread README.md Outdated

# modified by aiden for websocket support.
# will hopefully be deleted soon when merged in to upstream

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

Can you fix this up?

Comment thread README.md Outdated
@grug

grug commented Sep 24, 2021

Copy link
Copy Markdown
Owner

I'm going to have to run this stuff locally and see how it all works as I feel like people can get pretty fancy with their websocket setups so I want to see how this stands up against some weird configurations.

Repository owner deleted a comment from aidenscott2016 Sep 24, 2021
Repository owner deleted a comment from aidenscott2016 Sep 24, 2021
aidenscott2016 and others added 2 commits September 24, 2021 14:14
Co-authored-by: Dave Cooper <[email protected]>
@aidenscott2016

Copy link
Copy Markdown
Author

thumbs up emoji

@grug

grug commented Oct 29, 2021

Copy link
Copy Markdown
Owner

@aidenscott2016 are you still okay with all of this? I'm thinking of merging and releasing today :)

@aidenscott2016

Copy link
Copy Markdown
Author

@grug ye man merge it

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.

5 participants