Skip to content
Merged
Show file tree
Hide file tree
Changes from 5 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/']
};
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
- [🔧 Pull Request Steps](#-pull-request-steps)
- [Setup](#setup)
- [Develop](#develop)
- [Run karma test](#run-karma-test)
- [Run jest test](#run-jest-test)
- [Pull Request](#pull-request)
- [💬 Contributing](#-contributing)
- [🍞 TOAST UI Family](#-toast-ui-family)
Expand Down Expand Up @@ -187,7 +187,7 @@ $ npm run test
Let's start development!
Don't miss adding test cases and then make green rights.

#### Run karma test
#### Run jest test

``` sh
$ npm run test
Expand Down
9 changes: 9 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
/* eslint-disable strict */
module.exports = {
moduleFileExtensions: ['js'],
testEnvironment: 'jsdom',
testMatch: ['<rootDir>/**/*.spec.js'],
transformIgnorePatterns: ['<rootDir>/node_modules/'],
clearMocks: true,
setupFilesAfterEnv: ['jest-extended']
};
136 changes: 0 additions & 136 deletions karma.conf.js

This file was deleted.

Loading