Commit 4b989893 authored by Ates Goral's avatar Ates Goral
Browse files

Add Babel and Jest configs

parent 652ba97c
module.exports = {
presets: [
['babel-preset-shopify/node', {typescript: true}]
],
sourceMaps: 'inline',
};
module.exports = {
moduleFileExtensions: ['ts', 'js', 'json'],
transform: {
'^.+\\.[t|j]sx?$': 'babel-jest',
},
watchPathIgnorePatterns: [
'<rootDir>/node_modules/',
],
testRegex: '.*\\.test\\.tsx?$',
coverageDirectory: './coverage/',
collectCoverage: true,
};
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment