Skip to content

Commit

Permalink
feat: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjansenrpm committed Jul 16, 2024
1 parent 7559634 commit f04f140
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 16 deletions.
55 changes: 49 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 11 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@readyplayerme/visage",
"version": "5.2.0",
"version": "5.3.0-rc.1",
"description": "Easily display Ready Player Me avatars and 3D on the web.",
"author": "Ready Player Me",
"keywords": [
Expand Down Expand Up @@ -65,26 +65,23 @@
]
},
"peerDependencies": {
"@react-three/drei": "9.108.4",
"@react-three/fiber": "8.16.8",
"@react-three/postprocessing": "2.16.2",
"postprocessing": "6.35.6",
"react": ">=18.2.0",
"react-dom": ">=18.2.0",
"suspend-react": ">=0.1.3",
"@react-three/drei": "9.108.4",
"@react-three/fiber": "8.16.8",
"@react-three/postprocessing": "2.16.2",
"three": "0.166.1",
"three-stdlib": "2.30.4"
},
"devDependencies": {
"postprocessing": "6.35.6",
"@react-three/drei": "9.108.4",
"@react-three/fiber": "8.16.8",
"@react-three/postprocessing": "2.16.2",
"three": "0.166.1",
"three-stdlib": "2.30.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@react-three/drei": "9.108.4",
"@react-three/fiber": "8.16.8",
"@react-three/postprocessing": "2.16.2",
"@react-three/test-renderer": "^8.2.0",
"@rollup/plugin-commonjs": "^25.0.3",
"@rollup/plugin-node-resolve": "^15.1.0",
Expand Down Expand Up @@ -121,6 +118,7 @@
"eslint-plugin-storybook": "^0.6.13",
"husky": "^8.0.0",
"identity-obj-proxy": "^3.0.0",
"postprocessing": "6.35.6",
"prettier": "^3.0.0",
"r3f-perf": "^7.1.2",
"react": "^18.2.0",
Expand All @@ -134,6 +132,8 @@
"rollup-plugin-terser": "^7.0.2",
"storybook": "7.3.2",
"suspend-react": "0.1.3",
"three": "0.166.1",
"three-stdlib": "2.30.4",
"typescript": "^4.1.6",
"typescript-plugin-css-modules": "^5.0.1",
"webpack": "^5.88.2"
Expand All @@ -151,6 +151,7 @@
},
"dependencies": {
"gltfpack": "^0.21.0",
"jest-canvas-mock": "^2.5.2",
"jotai": "^2.2.2"
}
}
2 changes: 2 additions & 0 deletions src/setupTests.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'jest-canvas-mock';

// jest-dom adds custom jest matchers for asserting on DOM nodes.
// allows you to do things like:
// expect(element).toHaveTextContent(/react/i)
Expand Down

0 comments on commit f04f140

Please sign in to comment.