Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
ca3603de
Commit
ca3603de
authored
Dec 10, 2018
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move jest.config.js to root directory
parent
5c4cf3b3
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
3 deletions
+2
-3
jest.config.js
jest.config.js
+0
-1
package.json
package.json
+1
-1
spec/frontend/.eslintrc.yml
spec/frontend/.eslintrc.yml
+1
-1
No files found.
config/
jest.config.js
→
jest.config.js
View file @
ca3603de
...
...
@@ -24,5 +24,4 @@ module.exports = {
cacheDirectory
:
'
<rootDir>/tmp/cache/jest
'
,
modulePathIgnorePatterns
:
[
'
<rootDir>/.yarn-cache/
'
],
reporters
,
rootDir
:
'
..
'
,
// necessary because this file is in the config/ subdirectory
};
package.json
View file @
ca3603de
...
...
@@ -6,7 +6,7 @@
"eslint"
:
"eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue ."
,
"eslint-fix"
:
"eslint --max-warnings 0 --report-unused-disable-directives --ext .js,.vue --fix ."
,
"eslint-report"
:
"eslint --max-warnings 0 --ext .js,.vue --format html --output-file ./eslint-report.html --no-inline-config ."
,
"jest"
:
"BABEL_ENV=jest jest
--config=config/jest.config.js
"
,
"jest"
:
"BABEL_ENV=jest jest"
,
"karma"
:
"BABEL_ENV=${BABEL_ENV:=karma} karma start --single-run true config/karma.config.js"
,
"karma-coverage"
:
"BABEL_ENV=coverage karma start --single-run true config/karma.config.js"
,
"karma-start"
:
"BABEL_ENV=karma karma start config/karma.config.js"
,
...
...
spec/frontend/.eslintrc.yml
View file @
ca3603de
...
...
@@ -6,4 +6,4 @@ plugins:
settings
:
import/resolver
:
jest
:
jestConfigFile
:
"
config/
jest.config.js"
jestConfigFile
:
"
jest.config.js"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment