@@ -249,7 +249,6 @@ test('`value.now` throws on unsupported roles', () => {
249
249
test ( '`value.now: number` matches `aria-valuenow` on widgets' , ( ) => {
250
250
const { getByRole} = renderIntoDocument (
251
251
`<div>
252
- <button role="spinbutton" />
253
252
<button role="spinbutton" aria-valuenow="5" />
254
253
<button role="spinbutton" aria-valuenow="10" />
255
254
</div>` ,
@@ -270,7 +269,6 @@ test('`value.max` throws on unsupported roles', () => {
270
269
test ( '`value.max: number` matches `aria-valuemax` on widgets' , ( ) => {
271
270
const { getByRole} = renderIntoDocument (
272
271
`<div>
273
- <button role="spinbutton" />
274
272
<button role="spinbutton" aria-valuemax="5" />
275
273
<button role="spinbutton" aria-valuemax="10" />
276
274
</div>` ,
@@ -291,7 +289,6 @@ test('`value.min` throws on unsupported roles', () => {
291
289
test ( '`value.min: number` matches `aria-valuemin` on widgets' , ( ) => {
292
290
const { getByRole} = renderIntoDocument (
293
291
`<div>
294
- <button role="spinbutton" />
295
292
<button role="spinbutton" aria-valuemin="5" />
296
293
<button role="spinbutton" aria-valuemin="10" />
297
294
</div>` ,
@@ -312,7 +309,6 @@ test('`value.text` throws on unsupported roles', () => {
312
309
test ( '`value.text: Matcher` matches `aria-valuetext` on widgets' , ( ) => {
313
310
const { getAllByRole, getByRole} = renderIntoDocument (
314
311
`<div>
315
- <button role="spinbutton" />
316
312
<button role="spinbutton" aria-valuetext="zero" />
317
313
<button role="spinbutton" aria-valuetext="few" />
318
314
<button role="spinbutton" aria-valuetext="many" />
0 commit comments