From 97f1801fb5ca3410f301023ab5a22fe220808432 Mon Sep 17 00:00:00 2001 From: Akos Kitta Date: Mon, 14 Aug 2023 14:01:55 +0200 Subject: [PATCH] fix: naming --- .../src/test/browser/board-service-provider.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arduino-ide-extension/src/test/browser/board-service-provider.test.ts b/arduino-ide-extension/src/test/browser/board-service-provider.test.ts index 748d83078..670b6113c 100644 --- a/arduino-ide-extension/src/test/browser/board-service-provider.test.ts +++ b/arduino-ide-extension/src/test/browser/board-service-provider.test.ts @@ -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;