Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
nichoth committed Jul 18, 2024
1 parent 5adaa2c commit f61d872
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { attributesToString } from '../src/index.js'

test('example', async t => {
const el = document.querySelector('input')
const str = attributesToString(el!)
const str = attributesToString(Array.from(el!.attributes))
t.equal(str, 'type="text" required name="fooo"',
'should return a string in the right format')
})

0 comments on commit f61d872

Please sign in to comment.