Christopher Hunt

Results 109 comments of Christopher Hunt

I see - sorry for not reading properly. PRs are welcome. :-)

Put them in the public folder...?

> Make sure you follow these steps to setup local testing environment: https://rustwasm.github.io/docs/wasm-bindgen/wasm-bindgen-test/browsers.html Yeah, I kinda have... and I took inspiration from the GH action scripts...

> If you're testing on your local machine. You can skip headless testing and test it with `just test` and open the URL in any browser of your choice. Unfortunately,...

``` huntc@MacBook-Pro-3 /tmp % curl 'http://localhost:50051/echo.Echo/EchoErrorResponse' \ -H 'sec-ch-ua: "Google Chrome";v="117", "Not;A=Brand";v="8", "Chromium";v="117"' \ -H 'sec-ch-ua-mobile: ?0' \ -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like...

I just realised that I had to run `just start-test-server &` before `just test`. So, all is well there... One of the first things I like to do when looking...

> > I just realised that I had to run `just start-test-server &` before `just test`. So, all is well there... > > I don't understand. Is there still an...

Sure, I'll create a PR. Meanwhile, what's the error you're getting. This looks ominous to me: ``` driver status: signal: 9 (SIGKILL) driver stdout: Starting ChromeDriver 114.0.5735.90 (386bc09e8f4f2e025eddae123f36f6263096ae49-refs/branch-heads/5735@{#1052}) on port...

Could be related: https://github.com/rustwasm/wasm-bindgen/issues/2151

Looks as though the `chromedriver` that `wasm-pack` installs is incompatible with the version of Chrome I have installed. See here: https://github.com/rustwasm/wasm-pack/blob/master/src/test/webdriver/chromedriver.rs My chrome is `117.0.5938.149`, whereas `chromedriver` is `114.0.5735.90`. There...