Skip to content

Commit

Permalink
[upgrade] add tests to build process (microsoft#787)
Browse files Browse the repository at this point in the history
Co-authored-by: Ian Seabock (Centific Technologies Inc) <[email protected]>
  • Loading branch information
iseabock and Ian Seabock (Centific Technologies Inc) authored Apr 19, 2024
1 parent 5394f0f commit 9139d38
Show file tree
Hide file tree
Showing 5 changed files with 1,748 additions and 23 deletions.
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

0 comments on commit 9139d38

Please sign in to comment.