Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ilya Vysotski
Koa Shopify Auth
Commits
4b989893
Commit
4b989893
authored
Sep 04, 2020
by
Ates Goral
Browse files
Add Babel and Jest configs
parent
652ba97c
Changes
2
Hide whitespace changes
Inline
Side-by-side
babel.config.js
0 → 100644
View file @
4b989893
module
.
exports
=
{
presets
:
[
[
'
babel-preset-shopify/node
'
,
{
typescript
:
true
}]
],
sourceMaps
:
'
inline
'
,
};
jest.config.js
0 → 100644
View file @
4b989893
module
.
exports
=
{
moduleFileExtensions
:
[
'
ts
'
,
'
js
'
,
'
json
'
],
transform
:
{
'
^.+
\\
.[t|j]sx?$
'
:
'
babel-jest
'
,
},
watchPathIgnorePatterns
:
[
'
<rootDir>/node_modules/
'
,
],
testRegex
:
'
.*
\\
.test
\\
.tsx?$
'
,
coverageDirectory
:
'
./coverage/
'
,
collectCoverage
:
true
,
};
Write
Preview
Supports
Markdown
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