mirror of
https://github.com/zhigang1992/react-content-loader.git
synced 2026-01-12 22:50:00 +08:00
* 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
18 lines
422 B
JavaScript
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',
|
|
},
|
|
},
|
|
}
|