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

[upgrade] add tests to build process #787

Merged
merged 16 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 1 addition & 1 deletion .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
cache-dependency-path: '**/package-lock.json'
- run: npm ci
- run: npm run build --if-present
# - run: npm test
- run: npm run test --if-present
6 changes: 4 additions & 2 deletions frontend/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
import type {Config} from '@jest/types';
// Sync object

const config: Config.InitialOptions = {
verbose: true,
transform: {
'^.+\\.tsx?$': 'ts-jest',
},
setupFilesAfterEnv: ['<rootDir>/polyfills.js'],
};
export default config;

export default config;
Loading
Loading