Compare commits

..

No commits in common. "development" and "main" have entirely different histories.

2839 changed files with 11041 additions and 16210 deletions

View File

@ -1,7 +1,33 @@
{
"extends": "ksv741",
"reportUnusedDisableDirectives": true,
"env": {
"jest": true
},
"rules": {
"import/extensions": [
"error", "ignorePackages", {
"mjs": "never",
"cjs": "never",
"js": "never",
"jsx": "never"
}]
},
"settings": {
"import/resolver": "webpack"
}
"import/resolver": {
"node": {
"extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
}
},
"import/extensions": [
".mjs", ".cjs", ".js", ".json", ".jsx"
]
},
"overrides": [
{
"files": ["**/__tests__/**/*.[jt]s?(x)", "**/?(*.)+(spec|test).[jt]s?(x)"],
"extends": ["./configs/jest/jest-eslint.config.js"]
}
]
}

View File

@ -12,7 +12,7 @@ cache:
install-dependencies:
stage: preparing
script:
- yarn install
- yarn install --offline
lint:
stage: checking
@ -26,7 +26,7 @@ lint:
test:
stage: checking
script:
- yarn run test:start
- yarn run test
only:
- merge_requests

1
.nvmrc
View File

@ -1 +0,0 @@
20.11.1

Binary file not shown.

File diff suppressed because one or more lines are too long

1
.yarnrc Normal file
View File

@ -0,0 +1 @@
yarn-offline-mirror "./offline_node_modules"

View File

@ -1,7 +0,0 @@
cacheFolder: ./offline_node_modules
enableGlobalCache: false
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-4.1.1.cjs

View File

@ -1 +0,0 @@
module.exports = 'test-file-stub';

View File

@ -0,0 +1,14 @@
module.exports = {
plugins: [
'jest',
'jest-dom',
'jest-formatting',
'testing-library',
],
extends: [
'plugin:jest/recommended',
'plugin:jest-dom/recommended',
'plugin:jest-formatting/recommended',
'plugin:testing-library/react',
],
};

View File

@ -0,0 +1,12 @@
const path = require('path');
module.exports = {
testEnvironment: 'jsdom',
rootDir: '../../',
transform: {
'\\.jsx?$': ['babel-jest', {
configFile: path.resolve(__dirname, 'babel-jest.config.js'),
}],
},
setupFilesAfterEnv: [path.resolve(__dirname, 'setupTests.js')],
};

View File

@ -6,10 +6,4 @@ module.exports = {
}],
},
setupFilesAfterEnv: ['./configs/jest/setupTests.js'],
modulePaths: ['src'],
moduleNameMapper: {
'\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$':
'./configs/jest/__mocks__/fileMock.js',
'\\.(css|less|scss)$': 'identity-obj-proxy',
},
};

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More