Skip to content

Commit

Permalink
test(tags): Added tests to see if StrictARIA is defined correctly on …
Browse files Browse the repository at this point in the history
…the elements
  • Loading branch information
DeepDoge committed Nov 7, 2024
1 parent 372298f commit 06ae5f4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions lib/tags.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@ import { tags } from "./tags"
ariaBusy satisfies never
}
}

// StrictARIA should be correctly defined
{
tags.div().ariaBusy("true")
/// @ts-expect-error Unknown value
tags.div().ariaBusy("abc")
}

0 comments on commit 06ae5f4

Please sign in to comment.