Skip to content

study for javacript algorism 🎯 daily coding..πŸš€

License

Notifications You must be signed in to change notification settings

saseungmin/daily_coding_dojo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🐀 Daily Coding Dojo

  • 맀일 μ½”λ”© 도μž₯
  • ν˜„μ‹€μ μ΄κ²Œ κΎΈμ€€νžˆλ₯Ό λͺ©ν‘œλ‘œ ν•œλ‹€.

πŸ¦„ 진행 방법

  • ν…ŒμŠ€νŠΈλ₯Ό μ μš©ν•œλ‹€. (jest..)
  • 문제 ν˜Ήμ€ 링크 μ²¨λΆ€ν•œλ‹€.
  • ν•΄λ‹Ή 문제λ₯Ό TDD 사이클에 맞좰 문제λ₯Ό ν‘Όλ‹€.
  • 문제λ₯Ό ν‘Ό ν•΄λ‹Ή ν΄λ”μ˜ README.md νŒŒμΌμ— μ–΄λ–€ λ°©μ‹μœΌλ‘œ ν’€μ—ˆλŠ”μ§€ 풀이 방법을 μ λŠ”λ‹€.
  • ν‘Ό λ¬Έμ œμ— λŒ€ν•œ 회고 μ λŠ”λ‹€.

πŸ“š JavaScript 폴더 별 μ„€μ • with Jest

πŸ“Œ npm install

> npm init -y
> npm i jest @types/jest eslint jest-plugin-context
> npx eslint --init

πŸ“Œ .eslintrc.js with airbnb

module.exports = {
  env: {
    browser: true,
    es2021: true,
    jest: true,
  },
  extends: [
    'airbnb-base',
  ],
  globals: {
    context: 'readonly',
  },
  parserOptions: {
    ecmaVersion: 12,
    sourceType: 'module',
  },
  rules: {
  },
};

πŸ“Œ jest.config.js

module.exports = {
  setupFilesAfterEnv: [
    'jest-plugin-context/setup',
  ],
  coverageThreshold: {
    global: {
      branches: 100,
      functions: 100,
      lines: 100,
      statements: 100,
    },
  },
};

About

study for javacript algorism 🎯 daily coding..πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published