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
dc9a6765
Commit
dc9a6765
authored
Feb 20, 2019
by
Winnie Hellmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Transpile @gitlab/ui for Jest
parent
8d74aab4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
babel.config.js
babel.config.js
+2
-0
jest.config.js
jest.config.js
+1
-0
No files found.
.babelrc
.js
→
babel.config
.js
View file @
dc9a6765
/* eslint-disable import/no-commonjs, filenames/match-regex */
const
BABEL_ENV
=
process
.
env
.
BABEL_ENV
||
process
.
env
.
NODE_ENV
||
null
;
const
presets
=
[
...
...
jest.config.js
View file @
dc9a6765
...
...
@@ -31,4 +31,5 @@ module.exports = {
'
^.+
\\
.js$
'
:
'
babel-jest
'
,
'
^.+
\\
.vue$
'
:
'
vue-jest
'
,
},
transformIgnorePatterns
:
[
'
node_modules/(?!(@gitlab/ui)/)
'
],
};
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