web
web copied to clipboard
Guides, tools and libraries for modern web development.
Hello, I think I'm running into a similar issue as #1876 (which is also me, but different account / repos). I'm trying to integrate `@web/test-runner` with `@testing-library/dom`. Here's a test:...
The [getResponseBody](https://github.com/modernweb-dev/web/blob/master/packages/dev-server-core/src/utils.ts#L37) function currently tries to convert any transformed module response body from a stream/buffer to a string. It does this via the use of the `isbinaryfile` module which performs...
**Problem:** Today, we are unable to get untested files as 0% coverage, because native instrumentation only shows coverage for tested files. **Suggestion:** c8 (native v8 coverage reporter) has the ability...
Hello there, I'm trying to write a unit test on some code that leverages Tensorflow.js. Here's a sample test: ``` import { expect } from '@esm-bundle/chai'; import * as tf...
I have a custom LessCSS Rollup plugin that loads `.less` files and converts them to exported string literals. I am setting up a monorepo, and found that no `.less` files...
the hosting with web dev server fails on my machine with the following error: Error while transforming node_modules/@node-projects/web-component-designer/dist/elements/widgets/codeView/code-view-code-mirror.js: Could not resolve import "codemirror/lib/codemirror.css". 21 | super(); 22 | //@ts-ignore >...
Hi I've got this error when doing a `build-storybook` (wds works perfectly when serving locally though): > Add @babel/plugin-syntax-import-assertions (https://git.io/JUbkv) to the 'plugins' section of your Babel config to enable...
Hi guys, I am trying to run the web server with different base URLs. I have this file src/config.ts: ``` export default { environment: 'development', x: 'https://dev-api-x.net', }; ``` This...
Would it be possible to enable this? or create a switch
Hey, I was wondering if anywhere there is an example of using `web-test-runner` to run a test that: 1. Serves a website (from `src/` or `demo/` or anywhere in your...