Skip to content

Commit

Permalink
test: update tests due to code change
Browse files Browse the repository at this point in the history
  • Loading branch information
motss committed Oct 18, 2021
1 parent 34e07cd commit 3411afb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/tests/year-grid/app-year-grid.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe(appYearGridName, () => {
el.shadowRoot?.querySelectorAll(elementSelectors.yearGridButton) ?? []
).map<[string, string, string, string]>(n => [
n.getAttribute('data-year') ?? '',
n.getAttribute('label') ?? '',
n.getAttribute('aria-label') ?? '',
n.getAttribute('tabindex') ?? '',
n.getAttribute('aria-selected') ?? '',
]);
Expand Down Expand Up @@ -70,7 +70,7 @@ describe(appYearGridName, () => {
el.shadowRoot?.querySelectorAll(elementSelectors.yearGridButton) ?? []
).map<[string, string, string, string]>(n => [
n.getAttribute('data-year') ?? '',
n.getAttribute('label') ?? '',
n.getAttribute('aria-label') ?? '',
n.getAttribute('tabindex') ?? '',
n.getAttribute('aria-selected') ?? '',
]);
Expand Down Expand Up @@ -131,7 +131,7 @@ describe(appYearGridName, () => {
el.shadowRoot?.querySelectorAll(elementSelectors.yearGridButton) ?? []
).map<[string, string, string, string]>(n => [
n.getAttribute('data-year') ?? '',
n.getAttribute('label') ?? '',
n.getAttribute('aria-label') ?? '',
n.getAttribute('tabindex') ?? '',
n.getAttribute('aria-selected') ?? '',
]);
Expand Down Expand Up @@ -163,7 +163,7 @@ describe(appYearGridName, () => {
el.shadowRoot?.querySelectorAll(elementSelectors.yearGridButton) ?? []
).map<[string, string, string, string]>(n => [
n.getAttribute('data-year') ?? '',
n.getAttribute('label') ?? '',
n.getAttribute('aria-label') ?? '',
n.getAttribute('tabindex') ?? '',
n.getAttribute('aria-selected') ?? '',
]);
Expand Down

0 comments on commit 3411afb

Please sign in to comment.