Files
react-content-loader/jest.web.config.js
Danilo Woznica 8ed714cb3d V5: API changes (#176)
* feat(api): updates background and foreground

BREAKING CHANGE: Rename `primaryColor` to `backgroundColor` and `secondaryColor` to
`foregroundColor`.

* feat(api): updates uniqueKey

BREAKING CHANGE: Renamed prop key `uniquekey` to `uniqueKey`

* fix(svg): removes unnecessary keys

* fix(web svg): adds display name

* feat(a11y): improves attrs

BREAKING CHANGE: Shift `ariaLabel` to `title` prop, the value remains

* refactor(codebase): reestructure

* test(web native): updates with new structure

* test(native): sets animate false on tests

* fix(svg): removes viewBox, width and height from api

* fix(presets): updates to new api and some design updates

* feat(content loader): sets new default as facebook instead of a box

* docs(readme storybook): updates to new api

* test(web native): updates
2020-01-26 20:06:38 +00:00

18 lines
422 B
JavaScript

module.exports = {
verbose: true,
collectCoverage: true,
coverageDirectory: './coverage/',
transform: {
'^.+\\.(t|j)sx?$': 'ts-jest',
},
testRegex: '/src/web/__tests__/.*(\\.|/)(test|spec)\\.[jt]sx?$',
roots: ['<rootDir>/src'],
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
globals: {
'ts-jest': {
babelConfig: false,
tsConfig: 'tsconfig.test.json',
},
},
}