Download slate/jest.config.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 577 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/jest.config.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/slate/jest.config.js
-
curl -L -o jest.config.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/slate/jest.config.js
577 Bytes
| const config = { | |
| testMatch: ['<rootDir>/packages/slate-react/test/**/*.{js,ts,tsx,jsx}'], | |
| preset: 'ts-jest', | |
| transform: { | |
| '^.+\\.(ts|tsx)$': [ | |
| 'ts-jest', | |
| { | |
| tsconfig: '<rootDir>/packages/slate-react/tsconfig.json', | |
| }, | |
| ], | |
| }, | |
| testEnvironment: 'jsdom', | |
| collectCoverage: true, | |
| collectCoverageFrom: ['./packages/slate-react/src/chunking/*'], | |
| coverageThreshold: { | |
| './packages/slate-react/src/chunking/*': { | |
| branches: 100, | |
| functions: 100, | |
| lines: 100, | |
| statements: 100, | |
| }, | |
| }, | |
| } | |
| module.exports = config | |