Download wp-calypso/packages/command-palette/jest.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 482 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/command-palette/jest.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/packages/command-palette/jest.config.js
-
curl -L -o jest.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/packages/command-palette/jest.config.js
482 Bytes
| module.exports = { | |
| preset: '../../test/packages/jest-preset.js', | |
| testMatch: [ '<rootDir>/test/**/*.{ts,tsx}' ], | |
| testEnvironment: 'jsdom', | |
| globals: { window: { navigator: { userAgent: 'jest' } } }, | |
| transformIgnorePatterns: [ | |
| 'node_modules[\\/\\\\](?!.*\\.(?:gif|jpg|jpeg|png|svg|scss|sass|css)$)', | |
| ], | |
| // This includes a lot of globals that don't exist, like fetch, matchMedia, etc. | |
| setupFilesAfterEnv: [ require.resolve( '../../test/client/setup-test-framework.js' ) ], | |
| }; | |