summaryrefslogtreecommitdiff
path: root/jest.config.js
diff options
context:
space:
mode:
authorPaul Gascou-Vaillancourt <pgascouvaillancourt@gitlab.com>2019-05-01 10:04:07 +0000
committerPhil Hughes <me@iamphill.com>2019-05-01 10:04:07 +0000
commit911701ae473f28eebf5d1d3cf4d4eef5130f384e (patch)
tree2ddbe440f6e221769b9b3d7bc693d0cc20675df3 /jest.config.js
parent9de3130e0c1f5c6906bdc1d96d96b761cff5a3b4 (diff)
downloadgitlab-ce-911701ae473f28eebf5d1d3cf4d4eef5130f384e.tar.gz
Extract discussion notes into new component
- Moved discussion notes out of `NoteableDiscussion` component into a new `DiscussionNotes` component - Wrote Jest tests for the new `DiscussionNotes` component - Updated Jest config for emojis fixtures - Updated Karma tests `NoteableDiscussion` to match its new structure - Convert `DiffDiscussions` tests to use Vue test utils
Diffstat (limited to 'jest.config.js')
-rw-r--r--jest.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jest.config.js b/jest.config.js
index fdbbe977f0b..0868547e654 100644
--- a/jest.config.js
+++ b/jest.config.js
@@ -24,6 +24,7 @@ module.exports = {
'^helpers(/.*)$': '<rootDir>/spec/frontend/helpers$1',
'^vendor(/.*)$': '<rootDir>/vendor/assets/javascripts$1',
'\\.(jpg|jpeg|png|svg)$': '<rootDir>/spec/frontend/__mocks__/file_mock.js',
+ 'emojis(/.*).json': '<rootDir>/fixtures/emojis$1.json',
},
collectCoverageFrom: ['<rootDir>/app/assets/javascripts/**/*.{js,vue}'],
coverageDirectory: '<rootDir>/coverage-frontend/',