Skip to content

Commit

Permalink
updated index.html with sortable.a11y.min.js
Browse files Browse the repository at this point in the history
  • Loading branch information
tofsjonas committed Oct 18, 2023
1 parent 3053a03 commit f3631c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -312,7 +312,8 @@ <h2>Even larger table (with ascending sort)</h2>
tbody.innerHTML = ''
tbody.appendChild(fragment)
</script>
<script src="sortable.js"></script>
<script src="sortable.min.js"></script>
<script src="sortable.a11y.min.js"></script>
<script>
function prepareAdvancedTable() {
var size_table = document.querySelector('.advanced-table')
Expand Down
4 changes: 0 additions & 4 deletions src/sortable.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ describe('sortable.test.html', () => {
expect(last).toBe('Morty')
})


it('sorts a table using tie breaker', async () => {
const table = getAllByRole(container, 'table')[1]
const th = getByRole(table, 'columnheader', { name: /Year/ })
Expand Down Expand Up @@ -161,7 +160,6 @@ describe('sortable.test.html', () => {
expect(last).toBe('1.96')
})


it('sorts a table ascending', async () => {
const table = getAllByRole(container, 'table')[6]

Expand Down Expand Up @@ -190,6 +188,4 @@ describe('sortable.test.html', () => {
expect(middle).toBe('Morty')
expect(last).toBe('Rick')
})


})

0 comments on commit f3631c8

Please sign in to comment.