Skip to content

Commit

Permalink
Update jest version
Browse files Browse the repository at this point in the history
  • Loading branch information
felixmosh committed Sep 12, 2022
1 parent 6114703 commit 3045d93
Show file tree
Hide file tree
Showing 4 changed files with 1,361 additions and 1,132 deletions.
26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,22 +58,22 @@
"@typescript-eslint/parser": "^4.25.0",
"auto-changelog": "^2.4.0",
"babel-loader": "^8.2.5",
"bull": "^4.8.2",
"bullmq": "^1.80.6",
"concurrently": "^7.1.0",
"bull": "^4.9.0",
"bullmq": "^1.90.1",
"concurrently": "^7.4.0",
"eslint": "^7.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-no-only-tests": "^2.6.0",
"eslint-plugin-react": "^7.29.4",
"jest": "^27.5.1",
"eslint-plugin-no-only-tests": "^3.0.0",
"eslint-plugin-react": "^7.31.8",
"jest": "^29.0.3",
"lerna": "^4.0.0",
"prettier": "^2.6.2",
"release-it": "^14.14.2",
"release-it-yarn-workspaces": "^2.0.1",
"supertest": "^6.2.2",
"ts-jest": "^27.1.4",
"ts-node-dev": "^1.1.6",
"typescript": "^4.6.3"
"prettier": "^2.7.1",
"release-it": "^15.4.1",
"release-it-yarn-workspaces": "^3.0.0",
"supertest": "^6.2.4",
"ts-jest": "^29.0.0",
"ts-node-dev": "^2.0.0",
"typescript": "^4.8.3"
},
"release-it": {
"plugins": {
Expand Down
8 changes: 3 additions & 5 deletions packages/api/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,12 @@
const packageJson = require('./package.json');
const { defaults: tsJestTransform } = require('ts-jest/presets');

module.exports = {
name: packageJson.name,
displayName: packageJson.name,
preset: 'ts-jest',
testEnvironment: 'node',
globals: {
'ts-jest': {
diagnostics: false, // https://huafu.github.io/ts-jest/user/config/diagnostics
},
transform: {
...tsJestTransform.transform,
},
testPathIgnorePatterns: ['/node_modules/'],
testMatch: ['<rootDir>/tests/**/*.spec.ts'],
Expand Down
2 changes: 1 addition & 1 deletion packages/api/tests/api/public-interface.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import * as bullBoard from '@bull-board/api';
describe('lib public interface', () => {
it('should save the interface', () => {
expect(bullBoard).toMatchInlineSnapshot(`
Object {
{
"createBullBoard": [Function],
}
`);
Expand Down
Loading

0 comments on commit 3045d93

Please sign in to comment.