Download wp-calypso/test/server/jest.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 560 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/test/server/jest.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/test/server/jest.config.js
-
curl -L -o jest.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/test/server/jest.config.js
560 Bytes
| const path = require( 'path' ); | |
| const base = require( '@automattic/calypso-jest' ); | |
| module.exports = { | |
| ...base, | |
| cacheDirectory: path.join( __dirname, '../../.cache/jest' ), | |
| rootDir: '../../client/server', | |
| transformIgnorePatterns: [ | |
| 'node_modules[\\/\\\\](?!@fnando[\\/\\\\]|.*\\.(?:gif|jpg|jpeg|png|svg|scss|sass|css)$)', | |
| ], | |
| moduleNameMapper: { | |
| '^@automattic/calypso-config$': 'calypso/server/config', | |
| '^@automattic/calypso-config/(.*)$': 'calypso/server/config/$1', | |
| }, | |
| setupFilesAfterEnv: [ require.resolve( './setup-test-framework.js' ) ], | |
| }; | |