Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOP-5132: Support image-less banners and add TypeScript support #1318

Merged
merged 25 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,14 @@ module.exports = {
'import/resolver': {
node: {
moduleDirectory: ['node_modules', '.'],
extensions: ['.js', '.jsx', '.ts', '.tsx'],
},
},
},
overrides: [
{
files: ['*.ts', '*.tsx'],
parser: '@typescript-eslint/parser',
},
],
};
4 changes: 3 additions & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module.exports = {
projects: [
{
displayName: 'unit',
preset: 'ts-jest',
globals: {
__PATH_PREFIX__: '',
},
Expand All @@ -16,9 +17,10 @@ module.exports = {
setupFilesAfterEnv: ['<rootDir>/tests/testSetup.js'],
snapshotSerializers: ['@emotion/jest/serializer'],
testEnvironment: 'jest-environment-jsdom',
testMatch: ['<rootDir>/tests/unit/**/*.test.js'],
testMatch: ['<rootDir>/tests/unit/**/*.test.js', '<rootDir>/tests/unit/**/*.test.tsx'],
transform: {
'^.+\\.jsx?$': `<rootDir>/jest-preprocess.js`,
'^.+\\.(ts|tsx)$': 'ts-jest',
},
},
{
Expand Down
Loading
Loading