Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"@lwc/module-resolver": "8.26.1",
"@lwc/synthetic-shadow": "8.26.1",
"@lwc/wire-service": "8.26.1",
"@lwc/state": "0.25.3",
"@salesforce/wire-service-jest-util": "4.1.5",
"fast-glob": "^3.3.3",
"jest": "29.7.0",
Expand Down
2 changes: 1 addition & 1 deletion src/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const jestConfig = {
rootDir: PROJECT_ROOT,
testPathIgnorePatterns: ['<rootDir>/node_modules/', '<rootDir>/test/specs/'],
transformIgnorePatterns: [
'/node_modules/(?!(.*@salesforce/sfdx-lwc-jest/src/lightning-stubs)/)',
'/node_modules/(?!(@lwc/state)|(.*@salesforce/sfdx-lwc-jest/src/lightning-stubs)/)',
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jodarove will @lwc/state ever be nested inside another NPM package?

Looks like with .*@salesforce/sfdx-lwc-jest/... it can be nested in a module like:

node_modules/some-nested-path/@salesforce/sfdx-lwc-jest/src/lightning-stubs/...

Should we be looking w/ the same pattern for @lwc/state?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice catch! i don't know if it can ever be nested, but it is better to be safe than sorry!

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jmsjtu updated in c37cab5

],
};

Expand Down
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1095,6 +1095,11 @@
resolved "https://registry.yarnpkg.com/@lwc/shared/-/shared-8.26.1.tgz#f137942628fea06ad083709dc39e38dd2f516c80"
integrity sha512-i8OrdCg/2YADJ4qYRs3Zx7+ssSe4vT+Ucer1kayDvJaeS37qfJ7MOeFVtJejJgagFsqpTDMVQrwBIEutXvNrpg==

"@lwc/signals@^8.22.3":
version "8.27.0"
resolved "https://registry.yarnpkg.com/@lwc/signals/-/signals-8.27.0.tgz#1028ea08b47b020a5ca0ea99017e9b5808d95178"
integrity sha512-4LRajgmlTLeEE5sNxFp/PBaLUHGUTNldWzkUywSXtFWQIwyUAzovxoEzs5DFlwVuak8bFc1uEcvyBs1XW8P0Eg==

"@lwc/ssr-compiler@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@lwc/ssr-compiler/-/ssr-compiler-8.26.1.tgz#1e638339ca270754436da724c45aad417142247a"
Expand All @@ -1110,6 +1115,13 @@
immer "^11.0.1"
meriyah "^5.0.0"

"@lwc/state@0.25.3":
version "0.25.3"
resolved "https://registry.yarnpkg.com/@lwc/state/-/state-0.25.3.tgz#bb176e3b44236df1d5b0a9cfa1cad92bd036e987"
integrity sha512-907OseLs5l6kf+FIeNvR2nHmnFqmLZcW9jtL24qeVWp8hay3vQtbHSuQxoU+ZBgyBBxGyfFM9yvNrbL93ooxoQ==
dependencies:
"@lwc/signals" "^8.22.3"

"@lwc/style-compiler@8.26.1":
version "8.26.1"
resolved "https://registry.yarnpkg.com/@lwc/style-compiler/-/style-compiler-8.26.1.tgz#c571835d6a974061d24094ecbd1ee53e3a1ab2e5"
Expand Down