wire-service-jest-util
wire-service-jest-util copied to clipboard
Utility library for @-wire Lightning Web Component tests
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 28.2.0 to 28.3.0. Release notes Sourced from eslint-plugin-jest's releases. v28.3.0 28.3.0 (2024-04-27) Features prefer importing jest globals for specific types (#1568) (c464ae3) Changelog Sourced from eslint-plugin-jest's changelog....
Bumps [rollup](https://github.com/rollup/rollup) from 4.14.1 to 4.17.2. Release notes Sourced from rollup's releases. v4.17.2 4.17.2 2024-04-30 Bug Fixes Fix tree-shaking problems when using spread arguments (#5503) Pull Requests #5501: Slightly improve...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.24.4 to 7.24.5. Release notes Sourced from @babel/core's releases. v7.24.5 (2024-04-29) Thanks @romgrk and @sossost for your first PRs! :bug: Bug Fix babel-plugin-transform-classes, babel-traverse #16377 fix: TypeScript...
Bumps [@lwc/synthetic-shadow](https://github.com/salesforce/lwc/tree/HEAD/packages/@lwc/synthetic-shadow) from 6.5.0 to 6.6.1. Release notes Sourced from @lwc/synthetic-shadow's releases. v6.6.1 What's Changed chore(nucleus): bump memory for release job by @nolanlawson in salesforce/lwc#4183 build(deps): bump the theoretically-non-breaking group...
Bumps [@lwc/jest-preset](https://github.com/salesforce/lwc-test/tree/HEAD/packages/@lwc/jest-preset) from 15.0.0 to 16.0.0. Release notes Sourced from @lwc/jest-preset's releases. v16.0.0 Breaking changes Snapshots may be changed. Run jest -u to update. What's Changed fix: fix excessive __lwc_scope_token__...
Related to issue #71 , this PR contains the ability for each adapter to have a `resetLastConfig` method. This pr contains: - Add on the base adapter the method -...
https://github.com/salesforce/wire-service-jest-util/blob/127d975ea745ea764ca28e3cc48bd85d0a4e1508/src/adapters/LdsTestWireAdapter.js#L40
I was attempting to emit getRelatedListRecords with 2 different sets of data and using the config as mentioned in #15 but the config is always an empty object. There are...
The `TestWireAdapterTemplate` exposes a `getLastConfig` method but no way to reset it. So for some tests where we want to ensure the wire was not called for some functional reasons,...
The new LDS GraphQL wire adapter emits data in the shape `{ data: ..., errors: [ ... ] }`. This prevents component authors from using `createLDSTestWireAdapter`, which assumes the standard...