Skip to content

Commit

Permalink
Fix typo in test description
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Jul 8, 2023
1 parent dd05d63 commit a9aa44b
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/assertions/to-equal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ describe('"to equal" assertion', () => {
}

describe('on HTML elements', () => {
it('should succeeds if they are equal', () => {
it('should succeed if they are equal', () => {
expect(
parseHtml(
'<ul><li>John</li><li class="winner">Jane</li><li>Annie</li></ul>',
Expand Down Expand Up @@ -73,7 +73,7 @@ describe('"to equal" assertion', () => {
});

describe('on DOM documents', () => {
it('should succeeds if they are equal', () => {
it('should succeed if they are equal', () => {
expect(
parseHtmlDocument(
'<!DOCTYPE html><html><body><h1>Tournament</h1><ul><li>John</li><li class="winner">Jane</li><li>Annie</li></ul></body></html>',
Expand Down Expand Up @@ -127,7 +127,7 @@ describe('"to equal" assertion', () => {
});

describe('on DOM document fragments', () => {
it('should succeeds if they are equal', () => {
it('should succeed if they are equal', () => {
expect(
parseHtmlFragment(
'<h1>Tournament</h1><ul><li>John</li><li class="winner">Jane</li><li>Annie</li></ul>',
Expand Down Expand Up @@ -208,7 +208,7 @@ describe('"to equal" assertion', () => {
});

describe('on text nodes', () => {
it('should succeeds if they are equal', () => {
it('should succeed if they are equal', () => {
expect(parseHtml('text'), 'to equal', parseHtml('text'));
});

Expand All @@ -229,7 +229,7 @@ describe('"to equal" assertion', () => {
});

describe('on node lists', () => {
it('should succeeds if they are equal', () => {
it('should succeed if they are equal', () => {
expect(
parseHtmlFragment('<div>one</div><div>two</div><div>three</div>')
.childNodes,
Expand Down

0 comments on commit a9aa44b

Please sign in to comment.