Dmitry Petrov

Results 109 comments of Dmitry Petrov

Can we just fix it to be able to use it without bundlers with specific options?

Same issue - `--experimental-test-coverage` is slowing down test by 3-5 times In my case i ran tests in [this repo](https://github.com/krutoo/utils) like this: ```bash node --enable-source-maps --import=tsimp/import --experimental-test-coverage --test ./src/**/*.test.{ts,tsx} ```

there is no sass config in this project jest config: ```js module.exports = { preset: 'ts-jest/presets/js-with-babel', setupFiles: ['./jest/setup.js', 'jest-canvas-mock'], globalSetup: '/jest/test-env.js', globals: { 'ts-jest': { tsConfig: '/tsconfig.jest.json', }, }, transformIgnorePatterns:...

@Connormiha it looks like I thought it was built-in functionality of sass/jest-css-modules-transform Do you have any idea how you can add support for this? This code works: ```scss @use 'node-modules/@foo-bar/baz.scss';...

@Connormiha, sorry for reopen but I have same issue but now with: ```scss @use 'pkg:@sima-land/ui-nucleons/colors'; ``` The `pkg:` prefix is new way to use packages, should it works by default...

@Connormiha I noticed that `jest-css-modules-transform` uses `sass.renderSync` which is deprecated according to Sass docs: https://sass-lang.com/documentation/js-api/functions/rendersync/ Looks like it is accepts `importer` (deprecated) but not `importers` (new) option. Also, looks like...

@Connormiha I made a quick alternative to suit my needs, you can see what I came up with: https://github.com/krutoo/jest-css-modules-transform/blob/main/src/index.ts

@preveen-stack global Node.js constructors Request and Response from Fetch API: ```js new Request('http://site.com', { method: 'POST' }); new Response('Not found', { status: 404 }); ```