Compare commits

..

4 Commits

2839 changed files with 16210 additions and 11041 deletions

View File

@ -1,33 +1,7 @@
{
"extends": "ksv741",
"env": {
"jest": true
},
"rules": {
"import/extensions": [
"error", "ignorePackages", {
"mjs": "never",
"cjs": "never",
"js": "never",
"jsx": "never"
}]
},
"reportUnusedDisableDirectives": true,
"settings": {
"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"]
}
]
"import/resolver": "webpack"
}
}

View File

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

1
.nvmrc Normal file
View File

@ -0,0 +1 @@
20.11.1

BIN
.yarn/install-state.gz Normal file

Binary file not shown.

893
.yarn/releases/yarn-4.1.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

View File

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

7
.yarnrc.yml Normal file
View File

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

View File

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

View File

@ -1,14 +0,0 @@
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

@ -1,12 +0,0 @@
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,4 +6,10 @@ 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.

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