@easy-web/core 1.7.0 → 1.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -56,6 +56,8 @@ describe('<Card item>', () => {
|
|
|
56
56
|
expect(img).toContain('alt="A touring bicycle"');
|
|
57
57
|
expect(img).toContain('class="ew-card__image"');
|
|
58
58
|
expect(img).toContain('loading="lazy"');
|
|
59
|
+
expect(img).toContain('width="1600"');
|
|
60
|
+
expect(img).toContain('height="900"');
|
|
59
61
|
expect(html).toContain('<h3 class="ew-card__title">Touring bicycle</h3>');
|
|
60
62
|
expect(html).toContain('<p class="ew-card__description">Ready for long rides</p>');
|
|
61
63
|
});
|
|
@@ -129,6 +131,8 @@ describe('<BlogPostCard item>', () => {
|
|
|
129
131
|
expect(img).toContain(`sizes="${gridSizes}"`);
|
|
130
132
|
expect(img).toContain('alt="Players at the oche"');
|
|
131
133
|
expect(img).toContain('class="ew-blog-card__image"');
|
|
134
|
+
expect(img).toContain('width="1600"');
|
|
135
|
+
expect(img).toContain('height="900"');
|
|
132
136
|
expect(html).toContain('<h3 class="ew-blog-card__title">Season opener</h3>');
|
|
133
137
|
expect(html).toContain('<time class="ew-blog-card__date" datetime="2025-03-15T12:00:00.000Z">15.03.2025</time>');
|
|
134
138
|
expect(html).toContain('<p class="ew-blog-card__description">The first match day of the season</p>');
|