Skip to content

Commit

Permalink
chore: remove unused code and files
Browse files Browse the repository at this point in the history
  • Loading branch information
nvh95 committed Apr 13, 2022
1 parent cf4f0b1 commit fdac111
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 32 deletions.
9 changes: 0 additions & 9 deletions config/jest/cssModulesTransform.js

This file was deleted.

5 changes: 1 addition & 4 deletions jest.config.js
Expand Up @@ -11,9 +11,7 @@ module.exports = {
modulePaths: ['<rootDir>/demo'],
transform: {
'^.+\\.(ts|js|tsx|jsx)$': '@swc/jest',
'^.+(?!\\.module)\\.css$': '<rootDir>/config/jest/cssTransform.js',
'^.+\\.module\\.(css|sass|scss)$':
'<rootDir>/config/jest/cssModulesTransform.js',
'^.+\\.css$': '<rootDir>/config/jest/cssTransform.js',
'^(?!.*\\.(js|jsx|mjs|cjs|ts|tsx|json)$)':
'<rootDir>/config/jest/fileTransform.js',
},
Expand All @@ -24,7 +22,6 @@ module.exports = {
modulePaths: ['<rootDir>/demo'],
moduleNameMapper: {
'^react-native$': 'react-native-web',
// '^.+\\.module\\.(css|sass|scss)$': 'identity-obj-proxy',
},
moduleFileExtensions: [
// Place tsx and ts to beginning as suggestion from Jest team
Expand Down
15 changes: 0 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Expand Up @@ -66,7 +66,6 @@
"@types/react-dom": "^17.0.10",
"@types/styled-components": "^5.1.24",
"@vitejs/plugin-react": "^1.3.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^27.5.1",
"jest-watch-typeahead": "^1.0.0",
"npm-run-all": "^4.1.5",
Expand Down
3 changes: 0 additions & 3 deletions src/cssModules.js

This file was deleted.

0 comments on commit fdac111

Please sign in to comment.