Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,7 @@ module.exports = {
'browser': true,
'amd': true,
'node': true,
'jasmine': true
},
'globals': {
'fixture': true
'jest': true
},
'ignorePatterns': ['node_modules/', 'dist/', 'docs/', 'report/']
};
12 changes: 12 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/* eslint-disable strict */
module.exports = {
moduleFileExtensions: ['js'],
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/**/*.spec.js'],
transformIgnorePatterns: ['<rootDir>/node_modules/'],
setupFiles: [
'./setup-globals.js'
],
clearMocks: true,
setupFilesAfterEnv: ['jest-extended']
};
1 change: 1 addition & 0 deletions jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "typeAcquisition": { "include": [ "jest" ] } }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด๊ฑด ์–ด๋А ์šฉ๋„๋กœ ์‚ฌ์šฉํ•˜๋Š”๊ฑธ๊นŒ์š”?_?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

์ด ๋‚ด์šฉ๊ณผ ์•„๋ž˜ @types/jest๋Š” vscode ์ƒ์—์„œ ๊ฐœ๋ฐœ ์‹œ Jest ๋ฌธ๋ฒ•์˜ ์ž๋™ ์™„์„ฑ์„ ์œ„ํ•ด ์‚ฌ์šฉํ–ˆ๋˜ ์ฝ”๋“œ์™€ ํŒจํ‚ค์ง€ ์ž…๋‹ˆ๋‹ค.
์ œ๊ฐ€ ๊ผผ๊ผผํ•˜๊ฒŒ ํ™•์ธํ•˜์ง€ ์•Š๊ณ  ์ปค๋ฐ‹์„ ํ–ˆ์Šต๋‹ˆ๋‹ค...
ํ•ด๋‹น ํŒŒ์ผ๊ณผ ์˜์กด ์‚ญ์ œํ•˜๊ฒ ์Šต๋‹ˆ๋‹ค

136 changes: 0 additions & 136 deletions karma.conf.js

This file was deleted.

Loading