Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
odelcroi committed Jul 20, 2022
1 parent 414f688 commit 97fc0e3
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 8 deletions.
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,19 @@
"resolutions": {
"@types/react": "17.0.14"
},
"jest-comments": {
"snapshotSerializers" : "used for snapshot",
"testEnvironment" :"moved to jsdom like in matrix-react-sdk",
"testMatch" :"execute only tests in unit-tests directory",
"setupFilesAfterEnv" :"duplicate enzyme configuration in our own setup because it was not taken",
"moduleNameMapper" : "use mapper from element-web, helps at mocking {module, ressources} directly with regexp",
"transformIgnorePatterns" : "transcompile ts from those module"
},
"jest": {
"testEnvironment": "jest-environment-jsdom",
"snapshotSerializers": [
"enzyme-to-json/serializer"
],
"testEnvironment": "jsdom",
"testMatch": [
"<rootDir>/test/unit-tests/**/*-test.[tj]s?(x)"
],
Expand Down
12 changes: 5 additions & 7 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8601,7 +8601,7 @@ mathml-tag-names@^2.1.3:
resolved "https://registry.yarnpkg.com/mathml-tag-names/-/mathml-tag-names-2.1.3.tgz#4ddadd67308e780cf16a47685878ee27b736a0a3"
integrity sha512-APMBEanjybaPzUrfqU0IMU5I0AswKMH7k8OTLs0vvV4KZpExkTkY87nR/zpbuTPj+gARop7aGUbl11pnDfW6xg==

"matrix-analytics-events@github:matrix-org/matrix-analytics-events#a0687ca6fbdb7258543d49b99fb88b9201e900b0":
"matrix-analytics-events@github:matrix-org/matrix-analytics-events.git#a0687ca6fbdb7258543d49b99fb88b9201e900b0":
version "0.0.1"
resolved "https://codeload.github.com/matrix-org/matrix-analytics-events/tar.gz/a0687ca6fbdb7258543d49b99fb88b9201e900b0"

Expand All @@ -8615,10 +8615,9 @@ matrix-events-sdk@^0.0.1-beta.7:
resolved "https://registry.yarnpkg.com/matrix-events-sdk/-/matrix-events-sdk-0.0.1-beta.7.tgz#5ffe45eba1f67cc8d7c2377736c728b322524934"
integrity sha512-9jl4wtWanUFSy2sr2lCjErN/oC8KTAtaeaozJtrgot1JiQcEI4Rda9OLgQ7nLKaqb4Z/QUx/fR3XpDzm5Jy1JA==

matrix-js-sdk@18.1.0:
matrix-js-sdk@18.1.0, matrix-js-sdk@matrix-org/matrix-js-sdk#v18.1.0:
version "18.1.0"
resolved "https://registry.yarnpkg.com/matrix-js-sdk/-/matrix-js-sdk-18.1.0.tgz#9fa312e71cf153c4a8aac88d908c5ddd52181c6c"
integrity sha512-O5D36paIsY7a2M2mOo7KKU7v1Mb3PVkmYKupXYcXd9gB/Ki1K4mds+vSDEhgkKyKwk6MK1AV/vgvp0xJCsttvg==
resolved "https://codeload.github.com/matrix-org/matrix-js-sdk/tar.gz/bf30c15d778e54366441ff1eaf8d7cfb5e1f58ef"
dependencies:
"@babel/runtime" "^7.12.5"
another-json "^0.2.0"
Expand All @@ -8639,10 +8638,9 @@ matrix-mock-request@^2.0.0:
dependencies:
expect "^1.20.2"

matrix-react-sdk@3.46.0:
matrix-react-sdk@matrix-org/matrix-react-sdk#v3.46.0:
version "3.46.0"
resolved "https://registry.yarnpkg.com/matrix-react-sdk/-/matrix-react-sdk-3.46.0.tgz#de9f8456941818099b9dedc41fc6921135ef1c89"
integrity sha512-k6dMCrpMpdcbpBr6MuSfWEcO4+w7ZY0CgW3Zzzo+dO5/Z4v2f7Q/bAN+456IInN4/ntO2Js2wakCCj9EnS6ltQ==
resolved "https://codeload.github.com/matrix-org/matrix-react-sdk/tar.gz/cacdb69774594e85f7afdae43e81dbf833f17063"
dependencies:
"@babel/runtime" "^7.12.5"
"@sentry/browser" "^6.11.0"
Expand Down

0 comments on commit 97fc0e3

Please sign in to comment.