web
web copied to clipboard
Guides, tools and libraries for modern web development.
Hi, In the documentation I see that the test runner is supposed to accept rollup plugins: https://modern-web.dev/docs/dev-server/plugins/rollup/ When I try it, it doesn't work. Here's my code: ``` import {...
In `__web-dev-server_web-socket.js` file there is this code: ``` const { protocol, host } = new URL(import.meta.url); const webSocketUrl = `ws${protocol === 'https:' ? 's' : ''}://${host}/wds`; ``` It would be...
Akin to [`@web/test-runner-mocha`](https://github.com/modernweb-dev/web/tree/master/packages/test-runner-mocha), it would be lovely to have `@web/test-runner-uvu` that runs test files using [uvu](https://github.com/lukeed/uvu)
### Description Right now, `@web/test-runner` is primarily for running tests within a chosen browser environment. How feasible would it be to include a node environment runner and a [deno](https://deno.land/) environment...
Hi, when running chrome using the msedge channel like this ``` playwrightLauncher({ product: 'chromium', launchOptions: { channel: 'msedge' } }) ``` as far as i can see it is currently...
I am attempting to use @web/test-runner in conjunction with an esbuild-based building environment, as per this [webapp starter project](https://github.com/m1cr0man/typescript-webapp-starter) I have made. When I run wtr, the resulting coverage report...
I just tried the watch feature and it didn't work... stupid me had a test HTML file with only `foo` in it... no ``, `` or `` 😅 and without...
chai-dom-diff offers snapshot testing via ```js expect(element).shadowDom.to.equalSnapshot() ``` This fails in web test runner. Proximal cause is that `window.__mocha_context__` is undefined. (this is probably a karma API?) @LarsDenBakker recommended implementing...
Would it be possible to have a readFiles command that supports globbing? I am porting jest-cucumber to WTR at the moment and it uses the glob library to load multiple...
Otherwise the loading of polyfills will fail when using a publicPath.