Skip to content

Commit

Permalink
test: improve test descriptions writing
Browse files Browse the repository at this point in the history
  • Loading branch information
vursen committed Sep 21, 2021
1 parent 6af2f3b commit f96ef7a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/checkbox/test/checkbox.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('checkbox', () => {
expect(checkbox.indeterminate).to.be.false;
});

it('should be checked on Space when initially checked is false and indeterminate is true', async () => {
it('should be checked on Space press when initially checked is false and indeterminate is true', async () => {
checkbox.checked = false;
checkbox.indeterminate = true;

Expand All @@ -111,7 +111,7 @@ describe('checkbox', () => {
expect(checkbox.indeterminate).to.be.false;
});

it('should not be checked on Space when initially checked is true and indeterminate is true', async () => {
it('should not be checked on Space press when initially checked is true and indeterminate is true', async () => {
checkbox.checked = true;
checkbox.indeterminate = true;

Expand Down Expand Up @@ -163,7 +163,7 @@ describe('checkbox', () => {
expect(checkbox.hasAttribute('active')).to.be.false;
});

it('should set active attribute while pressing Space on the input', async () => {
it('should set active attribute during Space press on the input', async () => {
// Focus on the input
await sendKeys({ press: 'Tab' });
// Hold down Space on the input
Expand Down

0 comments on commit f96ef7a

Please sign in to comment.