Skip to content

Commit

Permalink
Feature/[CSM-2]-app-layout-components (#8)
Browse files Browse the repository at this point in the history
* [CSM-2] add styled button & icon-button

* fix: WatchMissingNodeModulesPlugin was commented (#3)

Co-authored-by: Evgeniy Volkov <evgenii.volkov@leroymerlin.ru>

* [CSM-2] add global vars colors

* [CSM-2] add input

* [CSM-2] add styled Mui input

* [CSM-2] add status component

* [CSM-2] add status component size

* [CSM-2] some style fixes

* [CSM-2] try svg arc

* [CSM-2] add canvas arc

* [CSM-2] add refferal

* [CSM-2] add checkbox

* [CSM-2] rebuild button

* [CSM-2] add error input

* [CSM-2] add counter / radio / fix Button children

* [CSM-2] fix outline styles

* [CSM-2] add styled menu-item/ global svg gradient / fix styles

* [CSM-2] some fix

* [CSM-2] add Tabs and Tab

* [CSM-2] add test

* [CSM-2] fix whitespace

* [CSM-2] review fixes

* [CSM-2] clear imports

* [CSM-2] review fix / add jest package

* [CSM-2] some test fix

Co-authored-by: methodnumber13 <afrow0w13@gmail.com>
Co-authored-by: Evgeniy Volkov <evgenii.volkov@leroymerlin.ru>
  • Loading branch information
3 people authored Nov 1, 2021
1 parent 3ee4333 commit b60a437
Show file tree
Hide file tree
Showing 61 changed files with 56,127 additions and 48,163 deletions.
36 changes: 36 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
module.exports = {
coverageDirectory: '<rootDir>/coverage',
preset: 'ts-jest/presets/js-with-babel',
rootDir: './',
verbose: true,
testEnvironment: 'jsdom',
collectCoverageFrom: [
'src/**/*.{ts,tsx,js,jsx}',
'!src/test/**/*',
'!src/**/types.ts',
'!src/**/*.test.ts',
'!src/**/*.test.tsx',
'!src/**/__mocks__/**/*',
'!src/**/__test__/**/*',
'!src/**/mixins/**/*',
'!src/**/index.ts',
'!src/**/index.tsx',
'!src/**/styles.ts',
'!src/**/*.stories.*',
'!**/node_modules/**',
],
globals: {
'ts-jest': {
babelConfig: 'babel.config.js',
},
__IS_SERVER__: false,
__NAME__: require('./package.json').name,
},
moduleNameMapper: {
'.+\\.(css|scss|png|jpg|jpeg|svg|ttf|woff|woff2|svg)$': 'jest-transform-stub',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'],
testRegex: '(/__test__/.*|(\\.|/)(test|spec))\\.tsx?$',
moduleDirectories: ['node_modules', 'src'],
transformIgnorePatterns: [],
};
Loading

0 comments on commit b60a437

Please sign in to comment.