https://github.com/saseungmin/daily_coding_dojo
study for javacript algorism π― daily coding..π
https://github.com/saseungmin/daily_coding_dojo
algorithm algorithm-study coding-dojo daily-coding javascript
Last synced: 2 months ago
JSON representation
study for javacript algorism π― daily coding..π
- Host: GitHub
- URL: https://github.com/saseungmin/daily_coding_dojo
- Owner: saseungmin
- License: mit
- Created: 2020-04-28T06:48:40.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-29T12:44:17.000Z (9 months ago)
- Last Synced: 2024-08-29T14:12:00.158Z (9 months ago)
- Topics: algorithm, algorithm-study, coding-dojo, daily-coding, javascript
- Language: JavaScript
- Homepage:
- Size: 2.14 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 21
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## π€ Daily Coding Dojo
- λ§€μΌ μ½λ© λμ₯
- νμ€μ μ΄κ² κΎΈμ€νλ₯Ό λͺ©νλ‘ νλ€.### π¦ μ§ν λ°©λ²
- ν μ€νΈλ₯Ό μ μ©νλ€. (jest..)
- λ¬Έμ νΉμ λ§ν¬ 첨λΆνλ€.
- ν΄λΉ λ¬Έμ λ₯Ό TDD μ¬μ΄ν΄μ λ§μΆ° λ¬Έμ λ₯Ό νΌλ€.
- λ¬Έμ λ₯Ό νΌ ν΄λΉ ν΄λμ `README.md` νμΌμ μ΄λ€ λ°©μμΌλ‘ νμλμ§ νμ΄ λ°©λ²μ μ λλ€.
- νΌ λ¬Έμ μ λν νκ³ μ λλ€.### π JavaScript ν΄λ λ³ μ€μ with Jest
#### π npm install
```shell
> npm init -y
> npm i jest @types/jest eslint jest-plugin-context
> npx eslint --init
```#### π .eslintrc.js with airbnb
```js
module.exports = {
env: {
browser: true,
es2021: true,
jest: true,
},
extends: [
'airbnb-base',
],
globals: {
context: 'readonly',
},
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
rules: {
},
};
```#### π jest.config.js
```js
module.exports = {
setupFilesAfterEnv: [
'jest-plugin-context/setup',
],
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: 100,
},
},
};
```