Skip to content

Commit

Permalink
@W-16552826 Fix package name (#309)
Browse files Browse the repository at this point in the history
* v17.0.0

* Fix the package name

---------

Co-authored-by: lturanscaia <[email protected]>
  • Loading branch information
Shinoni and lesya7 authored Sep 6, 2024
1 parent 0782e66 commit c40c63d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
4 changes: 2 additions & 2 deletions packages/@lwc/jest-ssr-snaphot-utils/package.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"name": "@lwc/ssr-snapshot-utils",
"name": "@lwc/jest-ssr-snapshot-utils",
"version": "17.0.0",
"description": "Jest snapshot utils for SSR",
"homepage": "https://lwc.dev/",
"repository": {
"type": "git",
"url": "https://github.com/salesforce/lwc-test.git",
"directory": "packages/@lwc/ssr-snapshot-utils"
"directory": "packages/@lwc/jest-ssr-snapshot-utils"
},
"bugs": {
"url": "https://github.com/salesforce/lwc-test/issues"
Expand Down
2 changes: 1 addition & 1 deletion test/src/modules/ssr/basic/__tests__/basic.ssr-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import Basic from 'ssr/basic';

it('renders a basic component and saves formatted snapshot', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import EmptyTextExpression from 'ssr/emptyTextExpression';

it('renders a basic component with an empty text expression', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import FrameworkAttrs from '../frameworkAttrs';

it('serializes component with framework-supplied attributes', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import FrameworkAttrsWithValue from '../frameworkAttrsWithValue';

it('serializes component with framework-supplied attributes with value', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import LightDomSlotElement from 'ssr/lightDomSlotElement';

it('renders a basic component with light DOM slot with element slotted', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import LightDomSlotEmpty from 'ssr/lightDomSlotEmpty';

it('renders a basic component with light DOM slot with nothing slotted', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import LightDomSlotText from 'ssr/lightDomSlotText';

it('renders a basic component with light DOM slot with text node slotted', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import ScopedStyle from 'ssr/scopedStyle';

it('renders a basic component with scoped styles', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* SPDX-License-Identifier: MIT
* For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
*/
import { renderAndHashComponent } from '@lwc/ssr-snapshot-utils/src/ssr-snapshot-utils';
import { renderAndHashComponent } from '@lwc/jest-ssr-snapshot-utils/src/ssr-snapshot-utils';
import ScopedStyleHostLight from 'ssr/scopedStyleHostLight';

it('renders a basic component with scoped styles, light DOM with :host', () => {
Expand Down

0 comments on commit c40c63d

Please sign in to comment.