Skip to content

Commit

Permalink
fix: versioning mess
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian Schleemann committed Feb 20, 2024
1 parent 91c5376 commit 681030a
Show file tree
Hide file tree
Showing 4 changed files with 128 additions and 314 deletions.
3 changes: 1 addition & 2 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'jsdom',
setupFilesAfterEnv: ['@testing-library/jest-dom/extend-expect'],
testEnvironment: 'jsdom'
};
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,16 @@
"homepage": "https://github.com/atmina/formbuilder#readme",
"devDependencies": {
"@atmina/linting": "^2.1.2",
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^13.2.0",
"@testing-library/user-event": "^14.1.1",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.1",
"@testing-library/user-event": "^14.5.2",
"@types/eslint": "^8.56.2",
"@types/jest": "^27.5.0",
"@types/react": "^18.1.0",
"@typescript-eslint/eslint-plugin": "^5.26.0",
"@typescript-eslint/parser": "^5.26.0",
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19",
"eslint": "^8.56.0",
"expect-type": "^0.13.0",
"expect-type": "^0.17.3",
"jest": "^28.0.3",
"jest-environment-jsdom": "^28.0.2",
"microbundle": "^0.15.0",
Expand All @@ -70,5 +70,9 @@
}
},
"packageManager": "[email protected]+sha256.dbed5b7e10c552ba0e1a545c948d5473bc6c5a28ce22a8fd27e493e3e5eb6370",
"prettier": "@atmina/linting/prettier"
"prettier": "@atmina/linting/prettier",
"resolutions": {
"@types/react": "^18.2.57",
"@types/react-dom": "^18.2.19"
}
}
1 change: 1 addition & 0 deletions src/formbuilder.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@testing-library/jest-dom';
import {act, render, screen, waitFor} from '@testing-library/react';
import {userEvent} from '@testing-library/user-event';
import React, {type FC, type ReactNode} from 'react';
Expand Down
Loading

0 comments on commit 681030a

Please sign in to comment.