Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
Akos Kitta committed Aug 14, 2023
1 parent 1731972 commit 97f1801
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ describe('board-service-provider', () => {

it('should detect a port change and find selection index', () => {
let boardList = boardsServiceProvider.boardList;
const hasUpdated = boardsServiceProvider.updateConfig({
const didUpdate = boardsServiceProvider.updateConfig({
selectedBoard: uno,
selectedPort: unoSerialPort,
});
expect(hasUpdated).to.be.true;
expect(didUpdate).to.be.true;
expect(boardList.selectedIndex).to.be.equal(-1);
let selectedItem = boardList.items[boardList.selectedIndex];
expect(selectedItem).to.be.undefined;
Expand Down

0 comments on commit 97f1801

Please sign in to comment.