@spectrum-web-components/avatar
Advanced tools
Comparing version 0.39.3 to 0.39.4
{ | ||
"name": "@spectrum-web-components/avatar", | ||
"version": "0.39.3", | ||
"version": "0.39.4", | ||
"publishConfig": { | ||
@@ -60,4 +60,4 @@ "access": "public" | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.39.3", | ||
"@spectrum-web-components/shared": "^0.39.3" | ||
"@spectrum-web-components/base": "^0.39.4", | ||
"@spectrum-web-components/shared": "^0.39.4" | ||
}, | ||
@@ -73,3 +73,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "d7840b3a9b99db4de62c44e3fb91b69dec7319af" | ||
"gitHead": "f745c90e8e9ea85ff10be025e058b14cc925ec9f" | ||
} |
@@ -28,2 +28,15 @@ "use strict"; | ||
}); | ||
it("loads accessibly with [href]", async () => { | ||
const el = await fixture( | ||
html` | ||
<sp-avatar | ||
label="Shantanu Narayen" | ||
src="https://picsum.photos/500/500" | ||
href="https://adobe.com" | ||
></sp-avatar> | ||
` | ||
); | ||
await elementUpdated(el); | ||
await expect(el).to.be.accessible(); | ||
}); | ||
it("validates `size`", async () => { | ||
@@ -43,2 +56,5 @@ const el = await fixture( | ||
expect(el.size).to.equal(100); | ||
el.setAttribute("size", "600"); | ||
await elementUpdated(el); | ||
expect(el.size).to.equal(600); | ||
}); | ||
@@ -45,0 +61,0 @@ it("loads with everything set", async () => { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
147953
986