From b919cf5703523851c83bf873ce3bda0933d3298b Mon Sep 17 00:00:00 2001 From: keeramis Date: Tue, 14 May 2024 16:17:57 -0700 Subject: [PATCH] No need to async --- src/cmd/usb.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cmd/usb.test.js b/src/cmd/usb.test.js index 748a05514..dede07624 100644 --- a/src/cmd/usb.test.js +++ b/src/cmd/usb.test.js @@ -8,7 +8,7 @@ describe('USB Commands', () => { describe('_formatNetworkIfaceOutput', () => { - it('formats the interface information to imitate linux `ifconfig` command', async () => { + it('formats the interface information to imitate linux `ifconfig` command', () => { const nwInfo = [ { 'index': 5, @@ -104,7 +104,7 @@ describe('USB Commands', () => { access_token: '1234' }, }); - const res = await usbCommands._formatNetworkIfaceOutput(nwInfo, 'p2', '0123456789abcdef'); + const res = usbCommands._formatNetworkIfaceOutput(nwInfo, 'p2', '0123456789abcdef'); expect(res).to.eql(expectedOutput); });