Skip to content

Commit

Permalink
Ignore lint rule for private property
Browse files Browse the repository at this point in the history
  • Loading branch information
sanjayesn committed Jan 30, 2025
1 parent b902f40 commit e036abf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vscode/src/services/StatusBar.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ describe('StatusBar loader debouncing', () => {
vi.useFakeTimers()
statusBar = CodyStatusBar.init()
// Track all changes to the loaders collection
// biome-ignore lint/complexity/useLiteralKeys: the loaders property is private with no accessor
observedChanges = allValuesFrom(statusBar['loaders'].changes).then(changes =>
changes.map(set => new Set(set))
)
Expand All @@ -28,6 +29,7 @@ describe('StatusBar loader debouncing', () => {

it('tracks loader mutations', async () => {
statusBar.addLoader({ title: 'Test Loader' })
// biome-ignore lint/complexity/useLiteralKeys: the loaders property is private with no accessor
statusBar['loaders'].complete()

const states = await observedChanges
Expand Down

0 comments on commit e036abf

Please sign in to comment.