biome lint --write

This commit is contained in:
Henry Jameson 2026-01-06 16:20:14 +02:00
commit 8372348148
10 changed files with 27 additions and 27 deletions

View file

@ -20,7 +20,7 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
// eslint-disable-next-line no-prototype-builtins
expect(matchedComponents[0].components.default.components.hasOwnProperty('Timeline')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'Timeline')).to.eql(true)
})
it('user\'s profile', async () => {
@ -29,7 +29,7 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
// eslint-disable-next-line no-prototype-builtins
expect(matchedComponents[0].components.default.components.hasOwnProperty('UserCard')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'UserCard')).to.eql(true)
})
it('user\'s profile at /users', async () => {
@ -38,7 +38,7 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
// eslint-disable-next-line no-prototype-builtins
expect(matchedComponents[0].components.default.components.hasOwnProperty('UserCard')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'UserCard')).to.eql(true)
})
it('list view', async () => {
@ -46,7 +46,7 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
expect(Object.prototype.hasOwnProperty.call(matchedComponents[0].components.default.components, 'ListsCard')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'ListsCard')).to.eql(true)
})
it('list timeline', async () => {
@ -54,7 +54,7 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
expect(Object.prototype.hasOwnProperty.call(matchedComponents[0].components.default.components, 'Timeline')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'Timeline')).to.eql(true)
})
it('list edit', async () => {
@ -62,6 +62,6 @@ describe('routes', () => {
const matchedComponents = router.currentRoute.value.matched
expect(Object.prototype.hasOwnProperty.call(matchedComponents[0].components.default.components, 'BasicUserCard')).to.eql(true)
expect(Object.hasOwn(matchedComponents[0].components.default.components, 'BasicUserCard')).to.eql(true)
})
})