Sergio Pedercini

Results 15 comments of Sergio Pedercini

@theAndrewCline I'm trying to use mock-socket to mock WebSocket in my Cypress tests using your example. Everything good with the stub but I'm not able to trigger `.on('connection')` callback. Any...

Thanks @theAndrewCline, I was forgetting the return statement 🤦‍♂️😁... About the closing of the socket, I added a `.stop()` command. I don't know if it's graceful or not... but it...

Mmm... what is `window.location.pageview` @SimeonC? According to Google Analytics docs: Document location URL (location) is **the full URL (excluding anchor) of the page**, and Document Path (page) is the **The...

@SimeonC Google notes on SPA doesn't mention the `location` `DL` parameter. So I can assume that I can leave it as is: I need only to update the `page` `DP`...

The alias is defined with: ``` ggpush='git push origin "$(git_current_branch)"' ``` How can I get the value of $ZSH_HIGHLIGHT_PATCHLEVEL? Sorry, I don't know much about it.

I don't know if you solved in the meantime, since your request is a little bit old, anyway... I just added it in this way: ``` yarn add -D jest...

> Jest encountered an unexpected token @cheluis this error means Jest is not understanding the language of a portion of the code it is parsing. You have to remove parts...

@kamranayub same with: ```diff - import React from 'react' + import React, { FunctionComponent } from 'react' - export const Button: React.FunctionComponent + export const Button: FunctionComponent ``` I lost...

I get the same error. OSX 10.7.4, Sublime Text 2.0.1 Build 2217 with the newest version fo the package.

@OmkarK45 This component contains his own form tag, so you can't nest it in another one. To use it you need to put the two forms at the same level...