-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
391 additions
and
366 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,12 @@ | ||
{ | ||
"printWidth": 80, | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"bracketSameLine": true, | ||
"arrowParens": "avoid", | ||
"htmlWhitespaceSensitivity": "css" | ||
"printWidth": 80, | ||
"tabWidth": 4, | ||
"semi": true, | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"bracketSpacing": true, | ||
"bracketSameLine": true, | ||
"arrowParens": "avoid", | ||
"htmlWhitespaceSensitivity": "css", | ||
"endOfLine": "auto" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,31 @@ | ||
export default { | ||
preset: 'ts-jest', // Presetting to typescript jest | ||
testEnvironment: 'jsdom', // Testing environment is jsdom | ||
preset: 'ts-jest', // Presetting to typescript jest | ||
testEnvironment: 'jsdom', // Testing environment is jsdom | ||
|
||
transform: { | ||
'^.+\\.tsx?$': [ | ||
// If the file is a typescript or typescript jsx file transform it using ts-jest | ||
'ts-jest', | ||
transform: { | ||
'^.+\\.tsx?$': [ | ||
// If the file is a typescript or typescript jsx file transform it using ts-jest | ||
'ts-jest', | ||
|
||
{ | ||
tsconfig: { module: 'es2020' }, // Using ECMAScript 2020 module specification | ||
{ | ||
tsconfig: { module: 'es2020' }, // Using ECMAScript 2020 module specification | ||
|
||
BabelConfig: { | ||
configFile: false, // No configuration file for Babel | ||
BabelConfig: { | ||
configFile: false, // No configuration file for Babel | ||
|
||
// Presetting to @babel/preset-env with targets and @babel/preset-typescript | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
'@babel/preset-typescript', | ||
], | ||
}, | ||
}, | ||
], | ||
}, | ||
// Presetting to @babel/preset-env with targets and @babel/preset-typescript | ||
presets: [ | ||
['@babel/preset-env', { targets: { node: 'current' } }], | ||
'@babel/preset-typescript', | ||
], | ||
}, | ||
}, | ||
], | ||
}, | ||
|
||
// For certain file types, mock file or identity object proxy is used | ||
moduleNameMapper: { | ||
'\\.(gif|ttf|eot|svg|png)$': '<rootDir>/test/__mocks__/fileMock.js', | ||
'\\.(css|less|sass|scss)$': 'identity-obj-proxy', | ||
}, | ||
// For certain file types, mock file or identity object proxy is used | ||
moduleNameMapper: { | ||
'\\.(gif|ttf|eot|svg|png)$': '<rootDir>/test/__mocks__/fileMock.js', | ||
'\\.(css|less|sass|scss)$': 'identity-obj-proxy', | ||
}, | ||
}; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.